Answers for "add headers php Access-Control-Allow-Origin"

PHP
4

php cors allow origin

header('Access-Control-Allow-Origin: *');

header('Access-Control-Allow-Methods: GET, POST');

header("Access-Control-Allow-Headers: X-Requested-With");
Posted by: Guest on October-13-2021
1

php Access-Control-Allow-Origin

header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}");
Posted by: Guest on March-17-2021

Code answers related to "add headers php Access-Control-Allow-Origin"

Browse Popular Code Answers by Language