In first words I would like to say Hi and inform that I am completely beginner in NodeRed, so far have done basics, but now stuck with something what might be a joke.
I would like to configure NodeRed to send SMS messages with notifications. SMS Gateway Provider (PL) share API that looks like this example:
To use this in the request node, assuming you want to pass variable data into the parameter values, you can use Mustache style formatting on the URL property of the request node:
Or set the url in the http request node to https://api2.smsXXXX.pl/sms.
Select append msg.payload as query string
Then sending a msg.payload like
{
key: 'klucz',
password: 'haslo'
}
The query sent would be https://api2.smsXXXX.pl/sms?key=klucz&password=haslo
Adding other msg.payload properties and they will be appended to the query string also.
Thank you very much for all advices. Most important thing was how to convert that shell to url line. I have done as you suggested and it works!
I even not planned to use variables, but with your suggestion it makes my “logic” more simple.