Answers for "blocked by CORS"

PHP
0

php has been blocked by CORS policy

header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET,HEAD,OPTIONS,POST,PUT");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization");
Posted by: Guest on October-18-2020

Browse Popular Code Answers by Language