今天测试Restuful Api 时候,在接受Content 内容时总是报错如下
HTTP Status 400 - The request sent by the client was syntactically incorrect.
后台代码使用String 类型接收Content 时报错,由于类型不匹配,若改为@RequestBody Object json) 时,则成功处理。
HTTP Status 400 - The request sent by the client was syntactically incorrect.

相关文章: