diff --git a/templates/javascript/api-single.mustache b/templates/javascript/api-single.mustache index c7588ccfb6..c2f3e6f2c1 100644 --- a/templates/javascript/api-single.mustache +++ b/templates/javascript/api-single.mustache @@ -91,7 +91,7 @@ export function create{{capitalizedApiName}}(options: CreateClientOptions{{#hasR requestsCache: options.requestsCache, responsesCache: options.responsesCache, baseHeaders: { - 'content-type': 'application/x-www-form-urlencoded', + 'content-type': 'text/plain', ...auth.headers(), }, baseQueryParameters: auth.queryParameters(),