Answers for "php header accept post request from same domain"

PHP
0

php header accept post request from same domain

<?php
// Cross-Origin Resource Sharing Header
header('Access-Control-Allow-Origin: http://base.com');
header('Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS');
header('Access-Control-Allow-Headers: X-Requested-With, Content-Type, Accept');
?>
Posted by: Guest on September-09-2021

Code answers related to "php header accept post request from same domain"

Browse Popular Code Answers by Language