I have requirement to redirect the apigee proxy to redirect to a target custom website (ex:https://www.google.com) adding all the required headers and cookie and post that should be able to access the website.
added the target endpoint as - https://www.google.com
added assignMessagePolicy - accept-encoding - gzip, deflate
Post redirect im unable to use search engine. Please guide me what im missing
Not sure If I understand your question. You want to proxy a search engine website or redirect it? In case you want to redirect, I suggest using no target and use assign message policy to set location header to www.google.com with status code as 302.