You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
섹션 4. HTTP 메서드
1. HTTP API를 만들어보자
요구사항 정리
회원 정보 관리 API 만들기
API URI 설계
가장 중요한 것은 리소스 식별!!
리소스와 행위 분리
리소스 : 회원
행위 : 조회, 등록, 삭제, 변경
2. HTTP메서드 - GET, POST
HTTP 메서드 종류
기타 메서드
GET
POST
3. HTTP메서드 - PUT, PATCH, DELETE
PUT
 
PATCH
DELETE
4. HTTP메서드의 속성
안전(Safe)
호출해도 리소스를 변경하지 않는다.
멱등(Idempotent)
한 번 호출하즌 두 번 호출하든 결과가 같다.
GET, HEAD, POST, PATCH는 응답 결과 리소스를 캐시해서 사용 가능
All reactions