Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Spring
- RequestParam
- Codewars
- response
- 디자인 패턴
- @Value
- springboot
- 반환
- yml
- Boot
- @RequestParam
- JWT
- Docker
- @RequestBody
- 파라미터
- enum
- RequestBody
- Request
- actuator
- ResponseDto
- 헬스체크
- Security
- property
- 코드워즈
- 코딩테스트
- 로그인
- 프로퍼티
- redis
- 플라이웨이트
- DTO
Archives
- Today
- Total
목록@RequestBody (1)
있을 유, 참 진
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/d5FTd0/btr60hIvNXZ/Bgvod0sOnFNOjG240wKchK/img.png)
RequestBody - java 객체에 매핑하는 법 Controller에서 DTO 받을 때 JSON 형태 - Offset 객체 소개 - Offset 객체로 받을 때의 JSON 형태 - List로 받을 때의 JSON 형태 RequestBody 💡@RequestBody는 JSON 형태의 데이터를 Java 객체에 매핑할 때 사용하는 어노테이션. Http 통신 메세지 구성의 status line, headers, body 세 부분으로 중 body 부분의 데이터를 받아올 때 사용 POST http://localhost:8080/api/v1/user Content-Type: application/json { "username" : "이유진", "email" : "yoojinLee.dev@gamil.com" } ...
Spring
2023. 3. 30. 21:51