org.springframework.web.HttpRequestMethodNotSupportedException
在推送数据到接口时,得到了返回信息如下:
{"timestamp":1545187124252,"status":405,"error":"Method Not Allowed"
,"exception":"org.springframework.web.HttpRequestMethodNotSupportedException",
"message":"Request method 'POST' not supported","path":"/***/downReport"}
后检查接口文档发现,该接口需要的是GET请求,改为get后,即可以正常接收到数据