Rest_command with parameterized prefix

i have a base url and i want to call the service with a changing prefix (it is a GET call) - how do i use templating in the url field? it seems possible but no example in https://www.home-assistant.io/components/rest_command/

"http://[address]:[ip]/[i need to send a parameter here]

how do i create a template/send a parameter?

You would do it the same way as the example shows for payload.

1 Like