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

No 'Access-Control-Allow-Origin' header is present on the requested resource. #18

Open
sakebmomin opened this issue Jan 21, 2023 · 2 comments

Comments

@sakebmomin
Copy link

Access to XMLHttpRequest at 'https://api.pujakaitem.com/api/products' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Failed to load resource: net::ERR_FAILED api.pujakaitem.com/api/products:1
localhost-1674286544349.log

@sakebmomin
Copy link
Author

502 Bad Geteway

@Pavan8010
Copy link

Access to XMLHttpRequest at 'https://api.pujakaitem.com/api/products' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Failed to load resource: net::ERR_FAILED api.pujakaitem.com/api/products:1 localhost-1674286544349.log

how to solve this issue?

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

2 participants