A path variable is extracted and assigned to a variable est_id succesfully. When it is used in the middle of a HTTPTargetConnection URL it is appended to the end.
Hi @gungorr - Thank you for your question! We noticed it hasnât received any replies yet, but weâll keep an eye on this conversation. In the meantime, we encourage other community members to share their insights if theyâve encountered a similar situation.
If youâd like to share more details, feel free to add them hereâit might help others provide more targeted suggestions. Also, we invite you to look at our recent articles by expert Googlers.
But what is the actual result of your configuration?
I suspect that it might be related to the automatic path-suffix copying mechanism.
Hereâs an earlier discusson in the topic, I hope it would help:
use a named TargetServer, that contains the hostname only.
in the targetRequest flow, set the target.copy.pathsuffix to false (with AssignMessage(AM) / JavaScript(JS) policy)
set your custom path to the required value
itâs important to do these steps in the target request flow, not âearlierâ!
(B)
set the variabletarget.url , the value must be the full url, with protocol+host+path etc..
itâs important to do it in the target request flow, not âearlierâ!
you can use javascript, or an AM policy.
general best practice
set the required PATH / target.url value first as a custom variable (in JS, or AM policy).
and then use your custom variable to set the apigee variable.
Even if it means an additional step/polciy, it gives you the opportunity to track the process more precisedly, and see where the things went wrong - which I hope wonât happen in your case.
I hope I could help, but if not, pls feel free to ask for more assistance.
Iâm waiting for your response,
Cheers,
Marcelo
Hey @MarciSoos , we truly appreciate the time and effort you put into such a detailed and insightful reply. Itâs incredibly valuable to the community, and weâre grateful for your engagement in helping.
@gungorr , we hope Marceloâs suggestions provide the clarity and guidance you were looking for. If you find his reply resolves your question, we encourage you to mark it as an accepted solution. Doing so helps other community members facing similar issues quickly find the right answers.
Weâre excited to see this kind of collaboration in the community and look forward to your continued participation as we grow!