2주차

  1. REST API의 핵심을 이해하기

  2. 최대한 엄격하게 REST API를 작성해보기

목차

keyword

REST API

API(Application Programming Interface)

정보은닉(Information Hiding)과 캡슐화(Encapsulation)

(TODO : 차이점 정리)

Architecture와 Architecture Style

(TODO : 차이점 정리)

REST

(TODO: 7가지 제약 조건 위주로 정리)

URI & MIME type

URI & URL & URN

MIME type

Collection Pattern

아래 문서를 보고 정리 https://learn.microsoft.com/ko-kr/azure/architecture/best-practices/api-design#organize-the-api-design-around-resources

Apply Collection Pattern

CQS

Spring Web MVC로 구현

어노테이션

  • @RequestMapping

    • @GetMapping

    • @PostMapping

    • @PatchMapping

    • @DeleteMapping

    • @PathVariable

  • @RequestBody

  • @ExceptionHandler

  • @ResponseStatus

참고서적

Last updated