error: header Content-Type has unexpected value "application/x-www-form-urlencoded"
Closed this issue · 1 comments
m8522s commented
Hi team,
propably (most likely) not an error: I receive this error message and wonder, what is the correct Content-type
header in a request?
api-firewall | time=2023-12-13T20:56:35Z level=error msg=request validation error error=request body has an error: header Content-Type has unexpected value "application/x-www-form-urlencoded" request_id=#0000000100000001
Many thanks for your reply.
m8522s commented
Found it: the header was specified in the OpenAPI specification. So this "error" is not related to api-firewall
.