Here are my rules. I am using HTTP POST and not curt.
var String output
rule "Set Upstairs Mode"
when
Item SF_HVAC_Mode received command
then
output = sendHttpPostRequest("http://192.168.1.11:80/tstat", "application/json", '{"tmode":' + receivedCommand + '}')
logInfo("HVAC","HVAC Command sent - output: "+output)
end
rule "Set Coool SetPoint"
when
Item SF_HVAC_Cool_SP received command
then
output = sendHttpPostRequest("http://192.168.1.11:80/tstat", "application/json", '{"it_cool":' + receivedCommand + '}')
logInfo("HVAC","HVAC Command sent - output: "+output)
end
rule "Set FAn Mode"
when
Item SF_HVAC_FanMode received command
then
output = sendHttpPostRequest("http://192.168.1.11:80/tstat/fmode", "application/json", '{"fmode":' + receivedCommand + '}')
logInfo("HVAC","HVAC Command sent - output: "+output)
end