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

Blocked by CORS Policy #159

Open
alibenmessaoud opened this issue Apr 22, 2021 · 10 comments
Open

Blocked by CORS Policy #159

alibenmessaoud opened this issue Apr 22, 2021 · 10 comments

Comments

@alibenmessaoud
Copy link

I have an error saying:

Access to fetch at 'https://jsonplaceholder.typicode.com/users' from origin 'http://127.0.0.1:8082' 
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present 
on the requested resource. If an opaque response serves your needs, set the request's mode 
to 'no-cors' to fetch the resource with CORS disabled.

Also, https://jsonplaceholder.typicode.com/users?username=bret is returning 503!

Can you please check the server?

@luciaberon
Copy link

I'm having the same problem.

@shadyassan
Copy link

I also have

@back2Lobby
Copy link

same, I tried local, codepen and then jsfiddle it gets blocked by CORS. And if I put mode:'no-cors' in the fetch request's options. Then it gives empty response.

@DevDanielOropeza
Copy link

same

@Med1El
Copy link

Med1El commented Apr 22, 2021

I got same error

@dayoherrera
Copy link

I'm having the same problem.

@doriansmiley
Copy link

Same error for me

@vadimt2
Copy link

vadimt2 commented Apr 23, 2021

Same issue, are they about to fix it?
It's one or 2 lines of code.

@vtomic85
Copy link

vtomic85 commented Nov 18, 2021

Same error here. Any solution yet?
Edit: I had the CORS issue for PATCH method only. For all other methods it worked correctly.

@scottsword
Copy link

I ran into this for all requests. If you need something similar https://reqres.in/api/users is comparable and is working.

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