대충이라도 하자

Rest API 본문

꼬꼬마 개발자 노트

Rest API

Sueeeeee
반응형

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.

반응형

'꼬꼬마 개발자 노트' 카테고리의 다른 글

Elasticsearch 설치 및 사용 (Windows)  (0) 2022.01.18
XML파일  (0) 2022.01.06
Redis (Remote Dictionary Server)  (0) 2021.12.22
SSH Vs HTTP  (0) 2021.12.22
CI / CD & Jenkins  (0) 2021.11.23
Comments