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

CORS errors #16

Open
JustinYeoh93 opened this issue May 29, 2020 · 2 comments
Open

CORS errors #16

JustinYeoh93 opened this issue May 29, 2020 · 2 comments

Comments

@JustinYeoh93
Copy link

Hi everyone. Thank you very much Traversy for the course!
It is a quick and simple introduction to Vuejs and serves as a strong foundation for future learning.
I am facing a slight problem with jsonplaceholder however.
I constantly get cors errors and been bogging the head to fix it.
If anyone of the community could have a look at it I would very much appreciate it.
Test

@anovado
Copy link

anovado commented Sep 10, 2020

hi, did you use axios? because it shouldn't be a problem since jsonplaceholder doesn't require any headers in the http request.

@TheBigS
Copy link

TheBigS commented Feb 21, 2021

Yup I'm using Axios and having the same problem.

2021 02 21_12-24-51

What's weird is the GET request works. Like I get my 200 todos but I can't POST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants