1. 程式人生 > >http 400報錯

http 400報錯

對象 json 入參 cati ont blog 分享 技術分享 mage

http 400報錯---springmvc相關:

1.使用了json入參,傳遞給了對象,如果對象裏的屬性,如這裏的Bonus是int類型,你傳入了非int類型,這裏就會報400

技術分享

[email protected],然而信息頭ContentType是非application/json,如:application/x-www-form-urlencoded,也會報400

http 400報錯