code: func (api UsersAPI) Post(w http.ResponseWriter, r *http.Request) {
  
  	var u user.User
  
  	if err := json.NewDecoder(r.Body).Decode(&u); err != nil {
  		http.Error(w, http.StatusText(http.StatusBadRequest), http.StatusBadRequest)
  		return
  	}
  
  	userMgr := user.NewManager(r)
  	if err := userMgr.Save(&u); err != nil {
  		log.Error("ERROR while saving user:\n", err)
  		http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
  		return
  	}
  
  	w.Header().Set("Content-Type", "application/json")
  	w.WriteHeader(http.StatusCreated)
  
  	json.NewEncoder(w).Encode(&u)
  }
docs: // It is handler for POST /users