? symbol in the client url

Not applicable

Hi., I have a URL like

http://10.77.120.1:3000/api/download/?file=xxx.txt

How do I specify this in the Proxy and target URL when creating a proxy
?
0 3 145
3 REPLIES 3

Hi Naveen,

This symbol will be added automatically if you pass query parameters in the URL you create. There is no need to add this explicitly. Please try and see if it works.

Thanks,

Santosh

Thanks for responding Santosh


So, is this how it should be ?


Proxy url as : /<proxy_URL>/*

Target url as : http://<Target URL>/?file={filename}

Hi @Naveen kumar,

Put Proxy url as : /<proxy_URL> and while calling the API proxy, if you are using postman, just pass query parameters with ?<query parameter list in name value pair form>

Put target url as : http://<Target URL> only and Apigee should copy all the query parameters that you have given while calling proxy to the backend system.

Thanks,

Santosh