RESTClient插件POST方法传递参数

RESTClient插件POST方法传递参数app

https://blog.csdn.net/defi2013/article/details/52312612url

1.设置Headers,增长一个Content-type: application/x-www-form-urlencoded.net


 


2.在Body中定义你的参数,好比你的方法参数像这样:插件

@RequestParam("examTimeIdList[]") List<String> examTimeIdList, Integer uploadType

那么你在Body中应该这样写:examTimeIdList[]=01&uploadType=1code

相关文章
相关标签/搜索