diff --git a/base.go b/base.go index d070b35..ce7bc02 100644 --- a/base.go +++ b/base.go @@ -39,7 +39,7 @@ func buildBodyRequest(ver, rawurl string, body *Body) *http.Request { } } else { if contentType == "" { - if ver == "POST" || ver == "PUT" || ver == "Patch" { + if ver == "POST" || ver == "PUT" || ver == "PATCH" { contentType = TypeURLENCODED } }