Variables in the url target endpoint

I need to invoke the target URL:

https://prueba.api.test.com/programs/{{programId}}/members/{{memberId}}/redeem

In this target url programId and memberId can have any value. How can I do this in Api Gee?

0 1 185
1 REPLY 1

How can I do this in Api Gee?

"do this" means what, exactly?

I understand you want to invoke an external URL, and you want to be able to substitute specific things in for some of the url path segments. Invoking a URL from within Apigee is pretty straightforward. That's what Apigee does.

To get started: use the UI wizard to create a reverse proxy, specify a basepath of /julio. Specify https://prueba.api.test.com as the target URL; Then deploy it. Invoke the url like https://$ORG-$ENV.apigee.net/julio/programs/1234/members/5678/redeem .

What more do you want to do? Explain in more detail.

At runtime, Apigee is a gateway. It accepts an inbound request, and then can send a corresponding outbound request.

What's your desired mapping between the inbound and the outbound request?

Why do you want the proxy to DO? Why do you want to create a proxy in the first place, rather than invoking the URL directly?

If you provide more details, someone might be able to provide a helpful answer.