"REST API 설계"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==))
 
(같은 사용자의 중간 판 3개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;REST API 설계
;REST API 설계
==예시 1==
==예시 1==
{{참고|글쓰기 API 설계}}
{{참고|글쓰기 API 설계}}
49번째 줄: 48번째 줄:


==같이 보기==
==같이 보기==
*[[HTTP 요청 메소드]]
* [[REST API]]
*[[레일즈 표준 컨트롤러 액션]]
* [[REST API 오류 응답 설계]]
*[[REST API 오류 응답 설계]]
* [[CRUD 4색 배색]]
*[[REST]]
* [[페이크 REST API 서버 JSONPlaceholder]]
*[[CRUD]]
*[[CRUD 4색 배색]]
*[[Bulletphp 튜토리얼 3]]
*[[포스트맨]]
*[[페이크 REST API 서버 JSONPlaceholder]]


==참고==
==참고==
64번째 줄: 58번째 줄:
*http://wp-api.org/#posts
*http://wp-api.org/#posts
*http://www.restapitutorial.com/lessons/httpmethods.html
*http://www.restapitutorial.com/lessons/httpmethods.html
* https://aws.amazon.com/ko/blogs/korea/werner-vogels-lesson-learned-for-good-api-design/ Werner Vogels – 좋은 API 디자인을 위한 6가지 배운 점 《Amazon Web Services 한국 블로그》 2022-01-25


[[분류: REST API]]
[[분류: REST API]]

2022년 1월 25일 (화) 09:56 기준 최신판

REST API 설계

1 예시 1[ | ]

용도 Create Read Update Delete
METHOD POST GET PUT DELETE
/posts 글 작성★ 글 목록 인출★ 대량 수정 글 모두 삭제
/posts/123 - 123번 글 인출★ 123번 글 수정★ 123번 글 삭제★

2 예시 2[ | ]

구분 POST GET PUT DELETE
/pet
/pet/findByStatus
/pet/findByTags
/pet/아이디
/pet/아이디/uploadImage
/store/inventory
/store/order
/store/order/아이디
/store/order/아이디
/user
/user/createWithArray
/user/createWithList
/user/login
/user/logout
/user/아이디

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}