I try send request like this in golang but with no result:

curl -s -i -H "Accept: application/json" "http://192.168.1.183:8080/json.htm?type=command&c=getauth&param=udevice&idx=9&nvalue=0&svalue=10;43;2"

How to do that?

I want to send data do Domoticz Home Automation System. Anser I got:

{
   "status" : "ERR"
}

but should be:

{
"status" : "OK",
"title" : "Update Device"
}

I try this code:

    b := bytes.NewBufferString("type=command&c=getauth&param=udevice&idx=9&nvalue=0&svalue=10;43;2")
    res, _ := http.Post("http://192.168.1.183:8080/json.htm", "Accept: application/json", b)