diff --git a/parse/parse.go b/parse/parse.go index 8525f89a..b8720f28 100644 --- a/parse/parse.go +++ b/parse/parse.go @@ -281,7 +281,7 @@ func Body(req *http.Request) (map[string]interface{}, error) { return valuesToBody(req.MultipartForm.Value), nil } - if req.Form != nil && len(req.Form) > 0 { + if req.PostForm != nil && len(req.PostForm) > 0 { return valuesToBody(map[string][]string(req.Form)), nil }