This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
I have found in some other posts that its not possible to add custom
attributes to a proxy like you can an App but I'm looking for a way to
tag a specific proxy with an attribute of some sort that can be consumed
via a custom javascript policy. The s...
We are using a ServiceCallout for logging purposes and have excluded the
tag in the policy definition as, from what we understand,
that will cause the policy to not wait for a response thus becoming a
fire-and-forget scenario. This works well if the...
We are attempting to log data to Azure Log Analytics which we think can
be done with a simple ServiceCallout and doing an HTTP Post but the
problem we are running into is generating the SHA256 HMAC for
authorization. Are there any examples on how to ...
In reference to this post:
https://community.apigee.com/questions/65593/verify-api-key-query-parameter-or-form-parameter.html,
is there an example using javascript that would pull out the apikey
value from either the query parameters or form paramete...
Is there a way to setup the Verify API Key policy to have it look for
either a query parameter OR a form parameter? We would like the calling
part to be able to provide it in either place.
I had actually seen this code in previous searches but wasn't sure if
there was another way. We ended up going in a different direction
utilizing a logging microservice that then posts to Log Analytics.Thank
you for the information
So we tried context.getVariable("request.formparams.names") and that
returns a collection object which has a bunch of methods on it. We tried
calling the toArray() method on it assuming it would return an array of
names but when using the following c...
Forgive me, I did see those and I can see that if I make a call to
context.getVariable("request.formparam.xxxxx") I can retrieve a given
value for a specific form parameter as long as I get the casing correct.
But, we can't seem to figure out how to ...