diff --git a/wdm.go b/wdm.go index abaf464..af24a0b 100644 --- a/wdm.go +++ b/wdm.go @@ -71,6 +71,10 @@ func createTypHandler(writer http.ResponseWriter, req *http.Request) { if req.Method == http.MethodOptions { return } + req.ParseForm() + for formKey, formValue := range req.Form { + log.Printf("parsing from Form: %s = %s", formKey, formValue) + } body, err := io.ReadAll(req.Body) if err != nil { writer.WriteHeader(http.StatusBadRequest)