Apigee to Send Host Header to Endpoint -


this question relating apigee configuration.

i want able send request "host" header our endpoint.

for example :

request : int.api.com/path/uuid?apikey=key 

or

request : test.api.com/path/uuid?apikey=key 

i should see in request x-host=int.api.com.

i have created policy sends header x-host fixed.

i don't know how dynamically set host header based on request host header.

i have tried many things.

any appreciated !

try using assignmsg save request host header (request.header.x-host) variable (let's call user3645204.variable). can access user3645204.variable in response flow.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -