JSON post to Spring Controller

前端 未结 5 1479
清酒与你
清酒与你 2020-12-24 08:50

Hi I am starting with Web Services in Spring, so I am trying to develop small application in Spring + JSON + Hibernate. I have some problem with HTTP-POST. I created a metho

5条回答
  •  梦毁少年i
    2020-12-24 09:10

    see here

    The consumable media types of the mapped request, narrowing the primary mapping.

    the producer is used to narrow the primary mapping, you send request should specify the exact header to match it.

提交回复
热议问题