diff --git a/goes.go b/goes.go index d889d93..3b0d212 100644 --- a/goes.go +++ b/goes.go @@ -354,7 +354,7 @@ func (req *Request) Run() (Response, error) { } if req.method == "POST" || req.method == "PUT" { - newReq.Header.Set("Content-Type", "application/x-www-form-urlencoded") + newReq.Header.Set("Content-Type", "application/json") } resp, err := req.Conn.Client.Do(newReq)