Skip to content

Commit

Permalink
feat(javascript): use the text/plain content-type (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed May 31, 2022
1 parent d9cea71 commit 8995c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/javascript/api-single.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 8995c36

Please sign in to comment.