Property use.proxy cannot be set in javascript policy

I am using a javascript policy to send requests to a backend. I am using Apigee private Cloud and the use.proxy setting on the message processors is set to true.

Is it possible to set the use.proxy property for the javascript policy to false so I can send requests to the backend bypassing the forward proxy? (I am using the HttpClient to send the requests)

All help is appreciated. Thank you!

 

0 2 91
2 REPLIES 2

No, use.proxy applies to the HttpClient generally.  Whether it is used through the JavaScript callout, or via TargetEndpoint or ServiceCallout.  All of them use the HttpClient that is builtin to Apigee.

Is there a way to set it to false for the whole API proxy?

Or is there no way to bypass the forward proxy from the Javascript policy?

I cannot change the setting in the message processor config file.