Rapid on X: "We can make the POST request using `post` method fo axios. We need to send `data` as the second parameter in this case. https://t.co/j7fxHDLMvw" / X
![Setting header: 'Content-Type': 'application/json' is not working · Issue #86 · axios/axios · GitHub Setting header: 'Content-Type': 'application/json' is not working · Issue #86 · axios/axios · GitHub](https://user-images.githubusercontent.com/1436181/68179516-4e222e00-ffe4-11e9-9fef-d1ee35f61fb9.png)
Setting header: 'Content-Type': 'application/json' is not working · Issue #86 · axios/axios · GitHub
![javascript - "axios.defaults.headers.common['Content-Type'] = 'application/json'" but axios.post still is "application/x-www-form-urlencoded" - Stack Overflow javascript - "axios.defaults.headers.common['Content-Type'] = 'application/json'" but axios.post still is "application/x-www-form-urlencoded" - Stack Overflow](https://i.stack.imgur.com/SAjkb.png)