RESTClient插件POST方法传递参数

RESTClient插件POST方法传递参数

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

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


 


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

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

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

 

posted @ 2018-05-17 10:28  wjj1013  阅读(292)  评论(0编辑  收藏  举报