RESTful API
REST(REpresentational State Transfer)
The REST architectural style emphasises the scalability of interactions between components, uniform interfaces, independent deployment of components, and the creation of a layered architecture to facilitate caching components to reduce user-perceived latency, enforce security, and encapsulate legacy systems.
정보
모든 API를 RESTful하게 정의하고 개발할 수 있는 부분은 그렇게 하면 좋겠지만, 잘 모르겠거나 애매한 부분이 있어서 어려운 것 같습니다.
URI(Uniform Resource Identifiers)
<schema>://<authority>/<path>[?<query>][#<fragment>]
/는 리소스 사이의 계층적 관계를 나타낼 때 사용- URI의 마지막에는
/를 붙이지 않음 -를 사용할 수 있음_를 사용하지 않음- 대소문자를 구분, 일반적으로 소문자를 사용