-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
37 book order #38
37 book order #38
Conversation
|
||
@PostMapping("/list") | ||
public ResponseEntity<Void> bookRequest | ||
(@RequestParam BookType type, @RequestBody @Valid OrderRequest bookRequest) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λͺ μΈμλ₯Ό νμΈν΄λ³΄λκΉ orderμμλ postμμ²μ΄ νλλ°μ μλ κ±° κ°μλ° μλν¬μΈνΈλ₯Ό μ€μ νμ μ΄μ κ° μλμ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λ€λ₯Έ λΆλΆ λͺ μΈμλ νΌλλμ μλͺ»μ΄κ±°κ°μμ μμ νμ΅λλ€
(@RequestParam BookType type, @RequestBody @Valid OrderRequest bookRequest) { | ||
bookRequestService.execute(type, bookRequest); | ||
return ResponseEntity.ok().build(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ μ²μ΄ μμ±λμλ€λ μλ―Έλ‘ createλ μ΄λ€κ°μ??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
κΈ°λ₯μ΄ μ± μ μ μ²νλκ±°λΌμ λλ¬Έμ requestκ° λ μ§κ΄μ μΌλ‘ μ μ μμκ±° κ°λ€κ³ μκ°ν΄μ requestλ₯Ό μ¬μ©νμ΅λλ€
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ κ·Έ λΆλΆ λ§κ³ HttpStatusλΆλΆ λ§νκ±°μμ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ κ·ΈλΌ createκ° λ λ«κ² λ€μ μμ ν κ²μ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μμ νμ΅λλ€
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μκ³ νμ ¨μ΅λλ€
π‘ κ°μ
μ± μ μ² api λ₯Ό λ§λ€μμ΅λλ€
π μμ λ΄μ©
μ± μ λͺ©, μκ°, μ± μ΄ νλ κ³³μ urlλ₯Ό μ μ΄ μ± μ μ μ²ν μ μμ΅λλ€.
π λ³κ²½μ¬ν
πββοΈ μ§λ¬Έμ¬ν
βοΈ μ¬μ©λ²
πΈ κΈ°ν