diff --git a/.gitignore b/.gitignore index 5b92bb8..5e8a253 100644 --- a/.gitignore +++ b/.gitignore @@ -109,4 +109,6 @@ dist package types coverage/ -yarn-error.log \ No newline at end of file +yarn-error.log +lib +es \ No newline at end of file diff --git a/src/defaults.ts b/src/defaults.ts index 6263842..b89c0e4 100644 --- a/src/defaults.ts +++ b/src/defaults.ts @@ -23,10 +23,10 @@ const defaults: AxiosRequestConfig = { get: {}, head: {}, post: { - 'Context-Type': 'application/x-www-form-urlencoded; charset=utf-8', + 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', }, put: { - 'Context-Type': 'application/x-www-form-urlencoded; charset=utf-8', + 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', }, delete: {}, trace: {},