Spring's @RequestBody providing empty string on POST

前端 未结 4 2175
自闭症患者
自闭症患者 2020-12-19 03:15

I have an application with Spring 3.0.5.RELEASE trying to get the full content of a post using @RequestBody. The method is called, but the string passed is always empty. I h

4条回答
  •  旧时难觅i
    2020-12-19 03:45

    How are you POSTing messages to this URL? Are you positive that the HTTP request contains what you think it does? I suggest removing any web browsers from the picture and drop down to something low-level like curl which lets you send any type of HTTP message yourself.

提交回复
热议问题