title: Sending curl like request in golang
body: <p>I try send request like this in golang but with no result:</p>
  
  <pre><code>curl -s -i -H "Accept: application/json" "http://192.168.1.183:8080/json.htm?type=command&amp;c=getauth&amp;param=udevice&amp;idx=9&amp;nvalue=0&amp;svalue=10;43;2"
  </code></pre>
  
  <p>How to do that?</p>
  
  <p>I want to send data do Domoticz Home Automation System.
  Anser I got:</p>
  
  <pre><code>{
     "status" : "ERR"
  }
  </code></pre>
  
  <p>but should be:</p>
  
  <pre><code>{
  "status" : "OK",
  "title" : "Update Device"
  }
  </code></pre>
  
  <p>I try this code:</p>
  
  <pre><code>    b := bytes.NewBufferString("type=command&amp;c=getauth&amp;param=udevice&amp;idx=9&amp;nvalue=0&amp;svalue=10;43;2")
      res, _ := http.Post("http://192.168.1.183:8080/json.htm", "Accept: application/json", b)
  </code></pre>