[Vuejs]-Cors on one route but not the other with Vue

0👍

You are getting data in Json format, i guess.
In working one, you are sending header Content-Type : application/json
That’s why it’s working

In other, you are sending header Content-Type : text-plain/html
Which isn’t applicable, That’s why it’s not working

Leave a comment