title: access post parameters in handler
body: <p>I can access <code>GET</code> parameters using <a href="http://github.com/gorilla/mux" rel="noreferrer">mux</a>:</p>
  
  <pre><code>import (
      "github.com/gorilla/mux"
  )
  func main(){
       rtr := mux.NewRouter()
       rtr.HandleFunc("/logon", logonGet).Methods("GET")
  }
  func logonGet(w http.ResponseWriter, r *http.Request) {
      params := mux.Vars(r)
      login := params["login"]
  }
  </code></pre>
  
  <p>But cannot figure out how to access <code>POST</code> params</p>
  
  <pre><code>func main(){
       rtr := mux.NewRouter()
       rtr.HandleFunc("/logon", logonPost).Methods("POST")
  }
  func logonPost(w http.ResponseWriter, r *http.Request) {
      // how to get POST parameters from request
  }
  </code></pre>