In my RAML file, I’ve specified request headers for GET, for example:
host: example: abc.host.example.net
(In my RAML file, it’s something similar to the above but I’ve made the URL look generic here to avoid exposing the actual URL I’m using.)
When I use the Try it button to test the GET, and capture the request using Chrome dev tools, I find that:
The header I specified is overwritten.
Custom headers I have added are dropped from the request.
I am attempting to use an API that needs the request headers to be what I specify in the RAML file.
Is the Anypoint proxy overwriting my headers, as it seems to be doing?
dev tools tells me that the request URL is now:
Is there any way to ensure that the request headers specified in my RAML actually reach my server at https://abc.host.example.net/whatevers/9871/foo?