Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Creating a dynamic proxy route using http request with {variables}. Adding route variables to the request proxy

Is it possible to give dynamic routes to the an URL. I'm looking to do something like this.. I want to set my proxy like this.

www.test.com routes to www.test2.com

www.test.com/{version} routes to www.test2.com/{version}

Is it possible to set a route up like this?

Is it possible to add route parameters to the query? Such as.. www.test.com/{version} I didn't see anything in the documents about this.. Is it assumed to be that way?

Also how would I do something like this.. www.test.com/{version}/file and www.test.com/{version}. Would this have to be 2 seperate API proxies? Or can I do this under one api proxy.

0 4 661
4 REPLIES 4