꼬꼬마 개발자 노트
Rest API
Sueeeeee
2022. 1. 1. 17:50
반응형
We need standard for making APIs.
1. For url, don't use verb ( not talking about methods name)
- Instead, use nouns
ex) movies/inception
2. Use Http methods to interact such as get, post, put, delete
=> HTTP methods + NOUN
GET movies/inception
DELETE movies/inception
POST movies/inception
As a result, it is easy to understand, remember and utilize.
반응형