HTTP request and variables in Rules


#1

Can I use variables or glabal variables in an HTTP request in RM4?


#2

Is this an outgoing HTTP request? If so, yes, I use them all the time. However, this looks like a request to Hubitat which won't work from Hubitat. You can't send and receive a request on the same port. They will crash into each other. Why not simply execute the custom action setTarifaActual with the variable as the parameter?


#3

Don't know I can do that!!, lol

Thanks!


#4

No problem! :slight_smile: