sendHttpGetRequest vs Http-Binding

Hello!

I need to send an “HTTP GET” command as this: http://192.168.5.3/enu/lockstate.xml.p?lock1state=1

This rules work correctly…

sendHttpGetRequest("http://192.168.1.1/abc/abc.xml.p?lock1state=1")

but this not work

Switch Command “Send command” (group) { http=">[ON:POST:http://192.168.1.1/abc/abc.xml.p?lock1state=1]"}

Is it a bug, limitation or other?

Regards

Sim

Try
http=">[ON:GET:http://192.168.1.1/abc/abc.xml.p?lock1state=1]"

You were issuing an HTTP POST.

Solved… the problem was another!

#aptitude search openhab | grep http
p   openhab-addon-binding-http      - openHAB HTTP Binding

… HTTP Binding was not installed (it was my mistake)

Thanks for reply.

Sim