target endpoint doesn't allow baseurl change

nitin-kotian
Participant II

My client endpoint basepath is mobileapi/ and when i reach the target endpoint I want to change the basepath to /api and rest of the url. I am using HTTPTargetConnection to set my load balanced endpoint servers.

Why can't I just use the following HTTPTargetConnection properties to make this work?

<Properties> <Property name="target.copy.pathsuffix">true</Property> </Properties>

<Path>"/api"</Path>

I am using Edge private cloud

1 1 239
1 REPLY 1

I think "target.copy.pathsuffix" is not a Property, but instead a context variable.

At the risk of LMGTFY, You can find all the target endpoint properties here.

Perhaps what you want to do is set the context variable "target.url".

If so, set it to a full URL.

See Also.