REST API 제대로 알고 사용하기 : NHN Cloud Meetup

Structure of REST API

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b024486c-c847-4f5d-8928-27f45b7a4465/Untitled.png

Characteristic of REST

  1. Uniform Interface
  2. Stateless: REST does not save and control state infos, sessions, cookies. So API server simply should control requests. It makes everything simple.
  3. Cacheable: can cacheable with Last-Modified tag or E-Tag which used in HTTP protocol.
  4. Self-descriptiveness(자체 표현 구조)
  5. Client - Server structure: dependency between two is less and simple.
  6. Layer structure: multi-layer. added security, load balancing, encryption layer.

Design guide