One proxy endpoint multiple requests?

I want to create a proxy endpoint eg "/my_endpoint" (that does not have a corresponding endpoint with the same name in the system beneath) which performs multiple rest calls, creates an object based on the different calls and returns it to the user. I was recommended to read about callout flow but cannot find the solution to my problem. Anyone who can point me to the right direction? I would just like to see a piece of code/xml describing how i can hit an endpoint and execute the logic described above.

Best Regards J

0 2 557
2 REPLIES 2

Not applicable

/my_endpoint can be your proxy basepath. After that the part you append will be appended to your target and hit the service which will be at your backend.

For example

if your proxy url is "https://apigee.com/my_endpoint" and your backend service endpoint is

https://abc.com/xyz, then you need to send the request as

https://apigee.com/my_endpoint/xyz

similarly for https://abc.com/endpoint1

https://apigee.com/my_endpoint/endpoint1