Answers for "cross-origin request blocked: the same origin policy disallows reading the remote resource at https://shs-iq.com/api/api/add_drug_description. (reason: cors request did not succeed). status code: (null)"

PHP
0

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://vtl-lab.com/VN/crecc-cms/api/member/register.json. (Reason: CORS request did not succeed).

Add below code when request API

header("Access-Control-Allow-Origin: *");
Posted by: Guest on September-30-2020

Code answers related to "cross-origin request blocked: the same origin policy disallows reading the remote resource at https://shs-iq.com/api/api/add_drug_description. (reason: cors request did not succeed). status code: (null)"

Browse Popular Code Answers by Language