@RequestParam搭配postman使用
时间: 2023-10-15 20:31:27 浏览: 99
根据引用、[3]的内容,可以得出结论:@RequestParam和Postman可以同时使用。@RequestParam是用于从请求的URL中获取参数值的注解,在使用Postman发送请求时,可以在请求的URL中添加参数,并且通过@ RequestParam注解来接收这些参数的值。在Postman中,可以选择POST方法,然后在URL中添加参数键值对,例如"key=value"的形式。后端接收到请求时,可以使用@RequestParam注解来获取这些参数的值。所以,@RequestParam搭配Postman是完全可行的。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [@RequestBody 和 @RequestParam可以同时使用](https://blog.csdn.net/qq_43842093/article/details/121312638)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [@RequestParam与@RequestBody的区别及Postman对应操作](https://blog.csdn.net/Wyunpeng/article/details/111174371)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文