Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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: *");
 
PREVIOUS NEXT
Tagged: #Request #The #Same #Origin #Policy #disallows #reading #remote #resource #CORS #request
ADD COMMENT
Topic
Name
6+4 =