Content-type "is" The role of application / json of

request transmitting json data transmission Content-type with application / json a post embodiment; transmitting charset = utf-8 mode, then received directly followed entity object with springMVC of @RequestBody tag on the line, Spring will help you automatically assembled into the object, If the Content-type arranged to application / x-www-form- urlencoded; charset = utf-8 things can not be used in the spring, can only be obtained in a conventional manner json string of

Guess you like

Origin www.cnblogs.com/a1304908180/p/11458522.html