diff --git a/sam/templates/http_request.tpl b/sam/templates/http_request.tpl index efc1692d0..b7576ee92 100644 --- a/sam/templates/http_request.tpl +++ b/sam/templates/http_request.tpl @@ -24,6 +24,7 @@ func ({name|lcfirst}{call.name|capitalize}Request) new() *{name|lcfirst}{call.na } func ({self} *{name|lcfirst}{call.name|capitalize}Request) Fill(r *http.Request) error { + r.ParseForm() get := map[string]string{} post := map[string]string{} urlQuery := r.URL.Query()