사용자 도구

사이트 도구


rest_api

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
rest_api [2020/11/23 14:36]
kwon37xi
rest_api [2022/05/18 11:19] (현재)
kwon37xi [API Test]
줄 5: 줄 5:
   * https://github.com/zalando/restful-api-guidelines   * https://github.com/zalando/restful-api-guidelines
  
-====== API Test ======+===== API Test =====
   * [[rest_api:httpbin|httpbin]] : 서버를 제공해주고 있음.   * [[rest_api:httpbin|httpbin]] : 서버를 제공해주고 있음.
   * [[rest_api:json_server|Json Server]]   * [[rest_api:json_server|Json Server]]
 +  * [[rest_api:jsonplaceholder|JSONPlaceHolder]]
   * https://reqbin.com/   * https://reqbin.com/
   * https://docs.postman-echo.com/?version=latest   * https://docs.postman-echo.com/?version=latest
 +  * https://github.com/EsperoTech/yaade
  
-====== 참조 ======+===== 응답 코드 ===== 
 +  * ''5xx'' : 서버에 네트워크 커넥션등 어떤 물리적인 문제가 생겼을 때. 이 경우 재시도하면 복구 가능성이 있을 때 ''5xx'' 오류를 주는게 나아보임. 
 +  * ''4xx'' : 애플리케이션 로직의 오류 혹은 요청 자체에 문제가 있을 때. 즉, 코드를 잘못짰을 때. 이 경우 재시도 해도 결과가 동일하게 잘못되는 상황. 따라서 ''4xx'' 는 재시도 하지 말라는 명확한 신호. 
 + 
 +===== 참조 =====
   * [[https://www.javacodegeeks.com/2020/11/rest-sorting-collections.html?utm_medium=feed|REST: Sorting collections | Java Code Geeks - 2020]]   * [[https://www.javacodegeeks.com/2020/11/rest-sorting-collections.html?utm_medium=feed|REST: Sorting collections | Java Code Geeks - 2020]]
   * [[https://velog.io/@max9106/Spring-Boot-HATEOAS|[Spring Boot] HATEOAS]]   * [[https://velog.io/@max9106/Spring-Boot-HATEOAS|[Spring Boot] HATEOAS]]
줄 22: 줄 28:
   * [[https://dev.to/andersonjoseph/what-they-want-is-what-they-get-the-partial-response-strategy-5a0m|What They Want, Is What They Get: The Partial Response Strategy - DEV]]   * [[https://dev.to/andersonjoseph/what-they-want-is-what-they-get-the-partial-response-strategy-5a0m|What They Want, Is What They Get: The Partial Response Strategy - DEV]]
   * [[https://cloud.google.com/blog/products/api-management/restful-api-design-can-your-api-give-developers-just-information-they-need|RESTful API Design: can your API give developers just the information they need? | Google Cloud Blog]]   * [[https://cloud.google.com/blog/products/api-management/restful-api-design-can-your-api-give-developers-just-information-they-need|RESTful API Design: can your API give developers just the information they need? | Google Cloud Blog]]
 +  * [[http://highscalability.squarespace.com/blog/2011/3/9/google-and-netflix-strategy-use-partial-responses-to-reduce.html|Google and Netflix Strategy: Use Partial Responses to Reduce Request Sizes - High Scalability -]]
   * [[https://jinson.tistory.com/190|지앤선의 책 사랑 :: [한글화 프로젝트] 1. Richardson 성숙도 모델(Richardson Maturity Model)]]   * [[https://jinson.tistory.com/190|지앤선의 책 사랑 :: [한글화 프로젝트] 1. Richardson 성숙도 모델(Richardson Maturity Model)]]
 +  * [[https://github.com/cryptlex/rest-api-response-format|cryptlex/rest-api-response-format: REST API response format using HTTP status codes]]
rest_api.1606109811.txt.gz · 마지막으로 수정됨: 2020/11/23 14:36 저자 kwon37xi