Hi,
I am trying to send a request header in my Inbound request, but this header gets overriden by Apigee and always points to the specified virtualhost hostname.
I tried setting the following property in target endpoint propert
<Property name="request.retain.headers">Host</Property>
But this doesnt seem to solve my problem.
Can someone please help me out to resolve this issue?
Regards,
Anil
Solved! Go to Solution.
You could manually override the Host header value for the target by setting the variable 'target.header.host'. This should be done in the target request flow.
Setup an AssignMessage or JavaScript policy that assigns the value of request.header.host to target.header.host.
-Dave