Axios post function got 400 bad request I created a Vue component. And in this component, I use axios to send post request when it's mounted, CSRF token also included, but still got 400 status. Anyone know why?
Just found the solution:  

npm install qs


and

import qs from 'qs'

...
const actions = {
    auth({ commit }, { email, password }) {

        axios.post('url', qs.stringify({
            your token data here
        })).then((res) =&gt; {
            console.log(res.data)
        }).catch((err) =&gt; {
            console.log(err)
        })
    }
}