(The server cannot or will not process the request due to something .....) 请求状态码400
HTTP 接口请求保存问题(The server cannot or will not process the request due to something …) 请求状态码400 原因:前后端的参数类型不相同,这里指的是post请求; 请求参数分为两类 其一:响应头中的请求参数,一般都是String 类型,但是会存在Long型的 其二:Body 中的请求,一般body中放的是json"字符串",重点是字符串。所以post模拟请求的时候,body类型一定要指定为rar格式,如果指定为json