Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am working on tRest composant.I would like to pass my ID of the user dynamically so I have added a variable to get the ID of the user.
https://xxx.xxxx.com/api/3.6/sites/xxxxxxxxxxx/users/"fb25fcdd-1510-48a0-8def-85725687bb68"
Here I want to get just the ID without " ".I don't know what modifications I have to change on the parameter.
Hi,
I found the solution it was "+((String)).globalmap.get(("USERID"))+".
Actually its strange that the body part doesn't work in the same way.because when you want to pass a parameter you have to put a backslash like this \"namexx \" but in the URL part you don't have to.
But any ways thanks for the solution proposed in the community.Btw the issue was not coming from URL.
I hope it can be useful for other people in the community.
Regards,
Manoj
Can you post your URL code as text please? Alter any values you do not want shown to the rest of the world first. I believe your URL code may be slightly incorrect. It looks like you are almost there though.
Hi,
I found the solution it was "+((String)).globalmap.get(("USERID"))+".
Actually its strange that the body part doesn't work in the same way.because when you want to pass a parameter you have to put a backslash like this \"namexx \" but in the URL part you don't have to.
But any ways thanks for the solution proposed in the community.Btw the issue was not coming from URL.
I hope it can be useful for other people in the community.
Regards,
Manoj