Adding variables in between the URL


#1

There is an id between the URL in the image. I am trying to make that value dynamic. I tried adding url segment by adding a variable called userid which actually contains the id by fetching it from another http call, but it doesn’t work. This is the error that I get:
bad valueString [userid] as part of keyString [userid]


#2

Hi @tech_incubator,

Did you try something like this?

image

image

Example attached:
Main.xaml (6.5 KB)


#3

Hi @acaciomelo, I got it working with URLSegment. The issue was that the variable in the urlSegment was inside quotes(""), and so wasn’t working. Thank you for your reply though