Spring Boot/Framework

[Springboot] PUT API

오늘도개발 2024. 1. 27. 18:55

1. PUT API 란?

 

 - 리소스를 생성 또는 추가하는 작업

 - CRUD의 C/U(Create/Update)에 해당

 

2. PUT  관련 Annotation 

 - PutMapping("uri") :

  • PutMapping 은 RequestBody 를 사용하여 데이터 처리를 할 수 있다.