Retrieve API calls done from within javascript

I have proxy where there are few API calls from my javascript policy i.e. by using httpClient objevct from inside javascript.

Is there any management API exposed on APIGEE which could provide me the details of all the API calls made from within a javascript using httpClient object?

0 2 138
2 REPLIES 2

Hi @asrivastava109

Only way to check this is using print statements in the js file. But making calls from javascript policy is not a recommended approach try to stick to service callout and target endpoint callout as much as possible

Hi @asrivastava109 - You could also maybe try creating custom dimensions. In a nutshell, you capture message data and store it for retrieval in analytics. See http://docs.apigee.com/analytics-services/content/analyze-api-message-content-using-custom-analytics.