restTemplate submit form

http://blog.csdn.net/yiifaa/article/details/77939282

The test requires attention:
 Intent: The Post method submits data, and the background obtains parameters through getParameter.
 The format of the request body should be similar: act=getDurationsRank&startTime=2017-10-02&endTime=2017-10-08 (json does not work...)
 The request encoding type should be: Content-Type:application/x-www-form-urlencoded (form form default format)

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326612472&siteId=291194637