测试需要注意: 意图:Post方法提交数据,后台通过getParameter进行获取参数。 请求主体格式应为类似:act=getDurationsRank&startTime=2017-10-02&endTime=2017-10-08(json什么的都不行的……) 请求编码类型应为:Content-Type:application/x-www-form-urlencoded(form表单默认格式)
restTemplate提交表单
http://blog.csdn.net/yiifaa/article/details/77939282
猜你喜欢
转载自1971161579.iteye.com/blog/2398886
今日推荐
周排行