[英]How to Get JSON Data From Postman to Rest Controller
I have some questions on rest, pls help. 我对休息有一些疑问,请帮助。
Q 1.) 问1。
I am working on Spring MVC and already configured dispatcher servlet to take incoming request, but now I am using some restfull web services also in that project, so is there any thing to change in web.xml file? 我正在使用Spring MVC,并且已经配置了分派器servlet来接收传入的请求,但是现在我在该项目中也使用了一些restfull Web服务,因此web.xml文件中是否需要更改?
Q. 2) How to hit rest controller from Postman tool by passing JSON data inside body, using put request?. Q. 2)如何通过使用put请求在主体内部传递JSON数据来从Postman工具中击中rest控制器?
Thanks, Shashank 谢谢,Shashank
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.