@RequestBody,HttpMessageConverter,@ResponseBody
Mapping the request body with the @RequestBody annotation
The @RequestBody method parameter annotation indicates that a method parameter should be bound to the value of the HTTP request body. For example:
@PutMapping("/something")
public void handle(@Reque
转载
2021-07-03 20:33:57 ·
106 阅读 ·
0 评论