Skip to content Skip to sidebar Skip to footer

Axios Post Returns "network Error" Even If Status Is 200 And There's A Response

I'm using Vue JS 2.5 with Axios: 'vue': '^2.5.17', 'vue-axios': '^2.1.4', 'axios': '^0.18.0', I'm trying to make a POST call just like this: const data = querystring.stringify({

Solution 1:

You need to enable CORS on your API, which language/framework are you using?

Here's some reference:

https://enable-cors.org/

Post a Comment for "Axios Post Returns "network Error" Even If Status Is 200 And There's A Response"