Always get 415 error
See original GitHub issueI copied the code from this example: tinyHTTP - database integration
I tried using urlencoded
and json
together, each by itself, in different orders…nada, always
Status 415 Unsupported Media Type
I know it’s not anything else because using body-parser’s json middleware works.
Any ideas?
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
415 Unsupported MediaType in Spring Application - Baeldung
The 415 (Unsupported Media Type) status code indicates that the origin server is refusing to service the request because the payload is in...
Read more >How To Fix the HTTP 415 Error on Your Website - Kinsta
To recap, the “HTTP 415” error tells you that the server won't accept a file type because it doesn't support that payload. This...
Read more >POST JSON fails with 415 Unsupported media type, Spring 3 ...
The problem is due to the conversion process from JSON to Java, one need to have the right run time jackson libraries for...
Read more >Why do I get and Unsupported Media Type HTTP 415 and ...
In this video you will see one of the possibilities to getting HTTP 415 Unsupported Media Type and how to solve it.
Read more >Solved: Re: 415 Unsupported Media Type when (Java HttpPut)
415 Error indicates that you are making a request that is not allowed on that resource (PUT request not allowed, for example) or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@talentlessguy It’s perfect!
@FranciscoMendes10866 sorry for delays, it’s published now