Java Spring

HTTP ) 참고하면 좋은 URI 설계 개념

Machine_웅 2025. 2. 10. 11:23
728x90
반응형

https://restfulapi.net/

 

What is REST?: REST API Tutorial

REST is an acronym for REpresentational State Transfer. It is an architectural style for hypermedia systems and was first presented by Roy Fielding.

restfulapi.net

https://restfulapi.net/resource-naming/

 

REST API URI Naming Conventions and Best Practices

In REST, having a strong and consistent REST resource naming strategy – will prove one of the best design decisions in the long term. Let's discuss.

restfulapi.net

 

 

* 리소스를 기준으로 면저 GET POST, PUT  등등으로 설계를 해본다

이거가지고 해결이 안될 경우에는 컨트롤 URI를 사용한다 

( 최대한 컨트롤 URI를 사용하는 것을 줄이도록 하는것이 좋다. )

728x90
반응형

'Java Spring' 카테고리의 다른 글

HTTP ) 상태 코드  (0) 2025.02.10
HTTP ) POST , PUT 정리  (0) 2025.02.10
HTTP ) 메서드 GET,POST, PUT,PATCH, DELETE  (0) 2025.02.06
HTTP ) 메세지 구조  (0) 2025.02.05
HTTP 란? , Stateful, Stateless, 비연결성  (0) 2025.02.04