diff --git a/request/form.go b/request/form.go index 1aab816..f5b7106 100644 --- a/request/form.go +++ b/request/form.go @@ -44,7 +44,7 @@ func (f *form) Parse(ctx *gin.Context, receiver interface{}) error { method == http.MethodTrace || method == http.MethodConnect || method == http.MethodOptions { - return ctx.ShouldBindQuery(receiver) + return ctx.ShouldBind(receiver) } if method == http.MethodPost ||