CodeIgniter-JWT-Sample
CodeIgniter-JWT-Sample copied to clipboard
CORS Error: The request has been blocked because of the CORS policy
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

so why
the server does not sent: status_code(200); postman needs this
after all api server needs to set a header: "Access-Control-Allow-Origin", "*"