diff --git a/request_builder.go b/request_builder.go index 117c368..afb138c 100644 --- a/request_builder.go +++ b/request_builder.go @@ -96,6 +96,11 @@ func FetchFormData(req *http.Request) map[string]interface{} { res := make(map[string]interface{}) + // Abort if GET request + if req.Method == "GET" { + return res + } + ct := req.Header.Get("Content-Type") if strings.HasPrefix(ct, "application/json") {