API proxy path concatenated with TargetEndpoint in apigee edge

Not applicable

I have created Target Servers in Environment Configuration to read my target endpoint by proxy based on configuration. But, when i call the proxy, the resource paths of the proxy is concatenated and suffixed at end of my target endpoint URL and URL became invalid. Any specific reason ? I made suffix property as false. But, the URL getting concatenated. Could you suggest ?

<HTTPTargetConnection>
        <LoadBalancer>
            <Algorithm>RoundRobin</Algorithm>
            <Server name="Target_Proxy_Endpoint"/>
        </LoadBalancer>
        <Path>/ds/tmang</Path>
        <Properties>
            <Property name="target.copy.pathsuffix">false</Property>
            <Property name="success.codes">1xx,2xx,3xx,4xx,5xx,6xx</Property>
        </Properties>
 </HTTPTargetConnection>
Solved Solved
0 3 903
1 ACCEPTED SOLUTION

3 REPLIES 3

HI @Kumaresan Sithambaram

Please look at this similar post

@Sai Saran, Excellent & Thanks !! This solves My problem instead of setup in properties.

context.setVariable("target.copy.pathsuffix", false);

Glad it worked...