Skip to content

13주차 [Spring] RequestBody#90

Open
doho-ho wants to merge 5 commits intono-study-no-future:Kodo92from
doho-ho:spring/#82
Open

13주차 [Spring] RequestBody#90
doho-ho wants to merge 5 commits intono-study-no-future:Kodo92from
doho-ho:spring/#82

Conversation

@doho-ho
Copy link

@doho-ho doho-ho commented Apr 10, 2022

No description provided.

@doho-ho doho-ho added the Spring Spring label Apr 10, 2022
@doho-ho doho-ho linked an issue Apr 10, 2022 that may be closed by this pull request
@ChaerinYu
Copy link
Member

ㅎㅇㅌ

![deserializeFromObject](./assets/deserializeFromObject.JPG)

**결론**
@RequestBody는 Http의 body가 json이어야 한다는 제약사항이 존재한다. http body 자체를 전부 dto로 치환하기 때문이다. 실제로 소스코드를 살펴보면 byte[] 형태로 입력받은 http body를 역직렬화를 통해 No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사람을 미치게 만드는 화법이 2가지가 있는데
그 중 하나가 말을 하다 마는 거고

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChaerinYu 수정중에 있습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Spring Spring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Spring] RequestBody, ModelAttribute의 차이

3 participants