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.
Hi Team,I have a request payload( mentioned below), from which i need to
remove customField (type string) and set request.content.Upon trying
multiple functions, methods of Java script available from different
sources i am receiving [object Object] a...
Hello,I have q requirement of setting quota in time unit of second, from
documentation i see it can be achieved by making distributed to false,
but when its non distributed our setting works per MP( for example lets
say i define 5 tps and i have 3 MP...
Hi Team,We have a requirement of hashing msg for digest, before applying
HMAC policy, wanted to do in java script using sha512() and hash() which
are part of CryptoJS library.please suggest a best way to achieve
this.Thanks
Hi,These is a case where backend URLs are 1.
https://{Host}/abc/api/v1/dummy & 2. https://{Host}/xyz/api/v1/dummy.
for which i created APIGEE URL as
https://{HOST}/{basePath}/(abc|xyz)/dummyThough we can't have 2 URLs in
1 target, tried it using Extr...
HI,I have a requirement where i need to convert XML 2 JSON which has
numbers and i require some of them as number and some as string,
currently all are converted as numbers or as string using
.please find example belowXML
input:1500.04003200027662909...
HI,The use case is to restrict the client to 5 TPS. Though we have spike
we need to define quota for this requirement, if i express quota per
minute it could breach 5 tps.In Quota --> TimeUnit Documentation i saw
below note : Note: The policy also su...
Here in above code i also want to check , existence of Amount key,
Number conversion should happen only if Amount is present in payload ,
else nothing should happen.
This works but, The challenge is sometimes 'item response' is an array
,tried below code but failed, var c =
JSON.parse(context.getVariable('response.content'));var i;var value =
c.ItemResponse.lengthif (c.hasOwnProperty('Amount')){for ( i = 0; i <
v...
I am using version 3.0.2 which we use for all other OAS as well, and i
verified in validators and also editor i did not find any errors or
warnings, and i verified using allowed features in OAS as per
documentation. Thanks for the reply.