Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting default Content-Type header is not working. #373

Closed
damianprzygodzki opened this issue Jul 10, 2016 · 1 comment
Closed

Setting default Content-Type header is not working. #373

damianprzygodzki opened this issue Jul 10, 2016 · 1 comment

Comments

@damianprzygodzki
Copy link

damianprzygodzki commented Jul 10, 2016

I've set axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'; and using the same instance doesn't affect at any request at all. It is very annoying because every POST request to API is useless.

In addition, v: 0.12.0, no interceptor, pure default + post request.

@mzabriskie
Copy link
Member

Duplicate of #362

@axios axios locked and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants