Hi,
I have API proxy which is created using a integration which has input parameter called id . My question is how do i pass "id" as json in API proxy while testing API proxy.
{"id":"00195"}
Please suggest.
Solved! Go to Solution.
Hi @dinkarga ,
I assume you mean that you created an API Trigger in Integration, and now you want to invoke it with a parameter by calling it as an Integration Target or Integration Callout Policy from an API Proxy?
This is the docs page for the Apigee Integration APIs: https://cloud.google.com/apigee/docs/reference/apis/integrations/rest
This is the API that will be called : https://cloud.google.com/apigee/docs/reference/apis/integrations/rest/v1/projects.locations.products...
This post has an example of how to set up the parameters with curl:
https://www.googlecloudcommunity.com/gc/Integration-Services/Sample-payload-for-Integration-API-trig...
This doc has instructions for setting up an Integration Target in your API Proxy: https://cloud.google.com/apigee/docs/api-platform/integration/getting-started-apigee-target-endpoint
Hope that helps!
Hi @dinkarga ,
I assume you mean that you created an API Trigger in Integration, and now you want to invoke it with a parameter by calling it as an Integration Target or Integration Callout Policy from an API Proxy?
This is the docs page for the Apigee Integration APIs: https://cloud.google.com/apigee/docs/reference/apis/integrations/rest
This is the API that will be called : https://cloud.google.com/apigee/docs/reference/apis/integrations/rest/v1/projects.locations.products...
This post has an example of how to set up the parameters with curl:
https://www.googlecloudcommunity.com/gc/Integration-Services/Sample-payload-for-Integration-API-trig...
This doc has instructions for setting up an Integration Target in your API Proxy: https://cloud.google.com/apigee/docs/api-platform/integration/getting-started-apigee-target-endpoint
Hope that helps!
Hi @shaaland Thanks for quick response it helped me .