dufran.uaD
Windmill14mo ago
5 replies
dufran.ua

Content type: application/xml for http route

Hi all, I encountered an issue with the inability to receive XML content type for the http route. It always returns 415 Unsupported media types.
It supports text/plain, but most XMLs will be sent by services we can't control so it's not an option.
Is there any option to accept XML's?
Currently only thing cames to mind is modify caddy config to change request headers to text/plain when they are application/xml
Was this page helpful?