技术栈

requestpart

水巷石子
1 年前
spring boot·postman·request·entity·requestpart
使用Postman对@RequestPart和HttpServletRequest组合传参方式方法代码如下:想使用postman对entity和request参数传参,应该怎么传呢?直接上图片因为参数entity是@RequestPart(“req”) BizDemandInfo entity,所以名称得填req。最重要的是Content-Type要填application/json