title: How to send parameters by POST
body: <p>resource receives the parameters</p>
  
  <p>example:  <code>http://example.com/show-data?json={"fob":"bar"}</code></p>
  
  <p>in case of GET request, all clear and work well.</p>
  
  <pre><code>urlStr := "http://87.236.22.7:1488/test/show-data"
  json := `"foo":"bar"`
  r, _ := http.Get(urlStr+`?json=`+json)
  println(r.Status)
  
  
  200 OK
  </code></pre>
  
  <p>But how it shoud be done when use POST request? </p>
  
  <p>i try </p>
  
  <pre><code> urlStr := "http://87.236.22.7:1488/test/show-data"
      json := `{"foo":"bar"}`
      form := url.Values{}
      form.Set("json", json)
  
      println(form.Encode())
      post, _ := http.PostForm(urlStr, form)
  
      println(post.Status)
  
  
  
  400 Bad Request 
  
  json parameter is missing
  </code></pre>
  
  <p>but it`s not work.</p>