REST V2 URL Query

i am working on a REST V2 project and i am able to hit the url template fine in postman and within SOAP. But i would like to have the outside client use a query in the url to hit the service.

I have read through the Rest documentation and it says that the client will be able to run a query at runtime to hit my service but that is not happening below is direct quote from the REST document.

“Query parameters are not supported in the definition of a URL template. However,
the request URL from the client application to Integration Server can include query
parameters at run time.”

has anyone been able to put queries in their url and have it work?

i would like it to be like this:

localhost:5555/rest/?num1=200&num2=300

instead of this:

localhost:5555/rest/num1/200/num2/300

Thanks,

Try adding the HTTP URL Alias

http://localhost:5555/rest?num1=1&num2=1