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 on console when custom headers are sent with a request #3378

Closed
wesbillman opened this issue Nov 13, 2024 · 0 comments · Fixed by #3379
Closed

CORS errors on console when custom headers are sent with a request #3378

wesbillman opened this issue Nov 13, 2024 · 0 comments · Fixed by #3379
Assignees
Labels
console Web console dx

Comments

@wesbillman
Copy link
Member

If custom headers are sent from the verb request page for HTTP requests, we will get the following CORS errors.

Access to fetch at 'http://localhost:8891/get/name' from origin 'http://localhost:8892' has been blocked by CORS policy: 
Response to preflight request doesn't pass access control check: 
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
console Web console dx
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant