how to pass url parameter to rest api

Hi,

what would be the right systax to pass a variable from the URL to a REST API call?

E.g.

if I have the parameter hardcoded (here123) http://development:8080/ords/ordstest/examples18/routes18/GetClaimData/123

it returns data

I can retrieve the parameter from the URL to a variable called Key but haven managed to find the right syntax for how to include it into the REST API call.

E.g. http://development:8080/ords/ordstest/examples18/routes18/GetClaimData/[Key] doesn’t appear to work
even though the Key has value 123.

Thanks,
ktp

Like this…

http://development:8080/ords/ordstest/examples18/routes18/GetClaimData/{{Key}}

ktp