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 Error: The request has been blocked because of the CORS policy #7

Open
soumsena opened this issue Dec 16, 2020 · 2 comments
Open
Labels

Comments

@soumsena
Copy link

Hi, I need help please!
GET http://localhost/CodeIgniter-JWT-Sample/auth/token
Error: CORS request rejected: http://localhost/CodeIgniter-JWT-Sample/auth/token
Request Headers
User-Agent: PostmanRuntime/7.26.9
Accept: /
Cache-Control: no-cache
Postman-Token: 2dd347b8-e2e8-4632-9921-b42c15c12b7a

image

@soumsena soumsena added the bug label Dec 16, 2020
@qisecn
Copy link

qisecn commented Jul 22, 2022

so why

@mehdi-sadighian
Copy link

mehdi-sadighian commented Oct 27, 2022

the server does not sent: status_code(200);
postman needs this

after all api server needs to set a header: "Access-Control-Allow-Origin", "*"

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

No branches or pull requests

3 participants