Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

calling same API request two times in API Proxy

kk4
Bronze 3
Bronze 3

How to call(send) same API request(call) two times in API proxy?

request = https://dog.ceo/api/breeds/image/random

i want to call this two times within same proxy.

3 REPLIES 3

Hi there, I believe that your question has already been answered before in this community. Please see the top response from this post. This solution isn't specific to Edge and also works for X/Hybrid.

Hi @ravenhedden , actually in my case i just want to call same request two times i.e. when i click on send the request should get executed two times.

I believe that the post I shared solves this problem. Take the first solution recommended within, https://github.com/apigee/api-platform-samples/tree/master/doc-samples/policy-mashup-cookbook. Within the Apigee proxy it makes an HTTPS callout using a ServiceCallout policy and then makes another request using the Target Endpoint. If you were to request that proxy it would make 2 requests of its own before returning a response to you.

Top Solution Authors