Programing/Web
[Web] Rest API
꾸압
2022. 6. 20. 15:02
<만들어진 이유>
- WEB을 망가뜨리지 않으면서, 어떻게 http 기능을 향상 할 수 있을까?
- How do I improve HTTP without breaking the Web?
<정의>
- REST REpresentational State Transfer 의 약자
- 분산 하이퍼미디어 시스템을 위한 아키텍쳐 스타일 (제약조건의 집합체)
- 정보를 옮기는게 아니라, 그 정보의 상태(state)를 적당히 표현해줌
<REST API>
- REST 아키텍쳐 스타일의 API
- REST API 로서의 조건
(1) Client-Server
(2) Stateless
(3) Cache
(4) Uniform Interface
(4-1) Identification of Resource
(4-2) Manipulation of Resource through Representation
(4-3) Self-Descriptive Messages
(4-4) Hypermedia as the Engine of Application State
(5) Layered System
(6) Code-on-Demand (optional)
<참조 1> https://msmk530.tistory.com/90
<참조 2> https://www.youtube.com/watch?v=RP_f5dMoHFc