diff --git a/client/invoke.go b/client/invoke.go index d9d450ab..21fa81e2 100644 --- a/client/invoke.go +++ b/client/invoke.go @@ -80,7 +80,7 @@ func Invoke(provider provider.Provider, ireq InvokeRequest) (*http.Response, err if contentType != "" { req.Header.Set("Content-Type", contentType) } else { - req.Header.Set("Content-Type", "text/plain") + req.Header.Set("Content-Type", "application/json") } if len(env) > 0 {