How do you avoid proxy.basepath being copied in a servicecallout with LocalTargetConnection
What is the option to not append the basepath to the servicecallout?
Parent Proxy Basepath: /externaloauth
Chained proxy path: /cuid/api/token
In the trace I see
servicecallout.requesturi = /cuid/api/token/externaloauth
Is there anything I am missing in the configuration?
I have also tried using loadbalancer with HttpTargetConnection in the service callout as suggested in one of the posts, but I see the same issue there as well.
Below is my servicecallout policy config
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ServiceCallout async="false" continueOnError="false" enabled="true" name="Service-Callout-1"> <DisplayName>Service Callout-1</DisplayName> <Properties/> <Request clearPayload="true" variable="MyRequestObject"> <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables> </Request> <Response>calloutResponse</Response> <LocalTargetConnection> <!--<APIProxy>CUID</APIProxy> <ProxyEndpoint>default</ProxyEndpoint>--> <Path>/cuid/api/token</Path> </LocalTargetConnection> </ServiceCallout>