Answers for "enable cors in php api"

PHP
1

header cros orgin using php

<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: *");
...
Posted by: Guest on August-21-2020
1

php strict-origin-when-cross-origin

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

Browse Popular Code Answers by Language