반응형
The API acts as a middle man between the client and server. It allows you to share only necessary data in a secure way and for that many companies use API to share data.
API 형식
RESTful API (suggested by Roy Fielding https://en.wikipedia.org/wiki/Roy_Fielding)
There are a various ways of transferring data (HTTP, FTP,…) and this can cause incompatibility between the devices. RESTful API is to follow a uni-format when transferring data which are:
- Using HTTP request verbs (GET, POST, PUT, DELETE, PATCH)
- Specifying a certain data with a path and allow to do the CRUD on the entire or an individual item
References
728x90
반응형
'Backend > API' 카테고리의 다른 글
API - Notifications (2) | 2023.03.31 |
---|---|
API - Web Push (2) | 2023.03.31 |