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.
Hello Apigeeks, 1. How do I update value in XML that comes from request
payload? 2. How do I insert new element to the XML that comes from
request payload? For both items mentioned above, I tried with Javascript
object model var name = context.target...
Hello apigeekscurl -X GET
"https://api.enterprise.apigee.com/v1/organizations/org_name/environments/env_name/stats/booktitle?select=sum(ratingscount)&timeRange=04/21/2019&2014:00:00~04/22/2019&2014:00:00"
/ -u email:passwordThis API does not work. I ...
Hello ApigeeksI created multiple proxy endpoints but my path suffix
could run with other proxy base paths. Can anyone explain why is it so?
Is there a way to restrict the access if it is another proxy base path?
If antipattern to create multiple prox...
Hello ApigeeksIf it is antipattern to create multiple proxy endpoints.
Why is there an option to create multiple proxy endpoints?What purpose
does it serves?What scenarios are we advised to create multiple proxy
endpoints?
@dino-at-GoogleThanks for sharing. Your js works on my side as well.The
issue occurs when I modified to POST payload. I'm guessing it is on the
verb and/or context.getvariable which I am using request.content.Can you
advise if I am missing any proper...
Hello @Dino-at-GoogleIt does not work for update (that does not involves
adding new namespace) and adding new element. I think it's because of
the js error.Where do you place your js policy?Do you mind to share your
proxy?
Hello @Dino-at-Google Thanks for your help. Unfortunately, the payload
does not get updated.This is the request payload that I will be
receiving.
0 Thomson
This is the new element that I want
to insert.My Javascript as I followed
your step.//...
My second proxy request will required the response value from the first
proxy as one of the payload. Then I can use it as the key, and api key
as the value so that I can verify the API key.Understand?