I'd like to map a given resource on the request url to a different resource on the target server. Do I need to use a javascript callout to do that (following this guidance- https://docs.apigee.com/api-platform/fundamentals/understanding-handling-request-response-data) or can I use the <Request> section of the Flow?
Example
to
https://targetDomain.com/Manufacturer
Solved! Go to Solution.
Hi @Daniel Hoenig,
You can use both, however I would recommend to use Flow.
Hi @Daniel Hoenig,
You can use both, however I would recommend to use Flow.
I looked at Flows because that seemed to be the place to do it, but I can't find any example on how to tell it to map a request resource to a target endpoint resource. Do you have an example you should show me? Maybe I'm missing something.
let me know if this help - https://community.apigee.com/questions/4303/how-do-i-transform-the-path-between-the-proxy-and.html
I did it by writing a javascript policy, since the url needed to be more dynamic. Thanks!