About 770,000 results
Open links in new tab
  1. Http 415 Unsupported Media type error with JSON

    I am calling a REST service with a JSON request and it responds with a HTTP 415 "Unsupported Media Type" error. The request content type is set to ("Content-Type", "application/json; …

  2. json - HTTP 415 unsupported media type error when calling Web …

    Jan 8, 2016 · 50 I experienced this issue when calling my web api endpoint and solved it. In my case it was an issue in the way the client was encoding the body content. I was not specifying …

  3. Error 415 Unsupported Media Type: POST not reaching REST if …

    Aug 2, 2012 · 0 I had the same issue, as it was giving error-415-unsupported-media-type while hitting post call using json while i already had the

  4. web services - HTTP 406 and 415 error codes - Stack Overflow

    Dec 6, 2013 · 77 I am writing a web service that accepts only json, and also outputs only json. So I need to return the appropriate status code if any other format is requested. It appears that I …

  5. html - How to fix error 415 - Stack Overflow

    Sep 20, 2016 · 1 From the status code section of the HTTP/1.1 spec: 415 Unsupported Media Type The server is refusing to service the request because the entity of the request is in a …

  6. java - How to fix 'HTTP-415' error, during POST request in REST …

    Jan 4, 2019 · I am a beginner in Spring Boot and learning my way through. How to fix 'HTTP-415' error, during POST request in REST web service using Spring Boot as below? I have tried …

  7. HttpClient {StatusCode: 415, ReasonPhrase: 'Unsupported Media …

    Apr 2, 2019 · I try to call my API in a method but i get the error: {StatusCode: 415, ReasonPhrase: 'Unsupported Media Type'. I have been looking around and found a lot of people have had the …

  8. Axios Error with Status Code 415 in Using Get Method

    Feb 20, 2018 · The HTTP status code 415 means Unsupported Media Type. That is it indicates that the server refuses to accept the request because the payload format is in an unsupported …

  9. REST Webservice returning 415 - Unsupported Media Type

    Jul 24, 2014 · 415 is the client is sending a content-type in the request header and so server straightforwardly rejects saying unsupported media type to overcome 406 - we must include …

  10. POST JSON fails with 415 Unsupported media type, Spring 3 mvc

    Jul 15, 2012 · Normally the controller should return a 400 error rather than a 415 error, but in my case the error code was 415. I debugged the issue by adding a test class where I used an …