HTTP Status 415 - request entity is in a format not supported

后端 未结 5 1130
忘掉有多难
忘掉有多难 2021-02-07 03:24

I am working on java restful web service. I got it working for GET request, but POST request does not work. My Controller class is RestController. I have done these

5条回答
  •  失恋的感觉
    2021-02-07 03:43

    I too had the same problem. Add ContentType header to application/xml (or whatever ur service is expecting) to the postman.

提交回复
热议问题