목록RESTful API (1)
JUNGKIMHOON
Glory of REST
LEVEL 0 - http://server/getPosts - http://server/deletePosts - http://server/doThis LEVEL 1 적절한 uri를 사용 - http://server/accounts - http://server/accounts/10 BUT improper use of Http methods LEVEL 2 LEVEL1 + HTTP Methods LEVEL 3 Level2 + HATEOAS DATA + NEXT POSSIBLE ACTIONS * HTTP Methods GET POST PUT DELETE * 안전한 URI 설계 필요 * 복수형 URI 설계 - /users (/user X) - /users/1 (/user/1 X)
Spring
2020. 8. 29. 09:03