You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Posting a query as payload with a incorrect content-type header, the result is a 200 OK.
Instead of a 415 Unsupported Media Type message, all resources of the searched type are displayed.
The text was updated successfully, but these errors were encountered:
alexanderkiel
changed the title
Display "415 Unsupportet Media Type" for incorrect Content-Type
Return an Error on Incorrect Content-Type for Search Requests
Nov 10, 2021
Posting a query as payload with a incorrect content-type header, the result is a 200 OK.
Instead of a 415 Unsupported Media Type message, all resources of the searched type are displayed.
The used (faulty) curl request looked like this:
Blaze works fine when using the correct headers and payload format:
The text was updated successfully, but these errors were encountered: