Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to set Query Parameters in an REST Message from a third party web service

lhai
Kilo Contributor

For example, I have this web service: http://server/Test-service/Test('AAA')

In the Rest Message configuration, I need to set it up in such a way that when I call the web service, I can pass a value like 'AAA'.

I tried setting the endpoint as http://server/Test-service/Test('AAA') then tested it and it works correctly.

But I need to pass the value to web service not to hardcode it in the endpoint.

Thanks in advance.

5 REPLIES 5

pankaj_puniani
ServiceNow Employee
ServiceNow Employee

No problem, glad it helped