Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

api headers php

<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: access");
header("Access-Control-Allow-Methods: POST");
header("Content-Type: application/json; charset=UTF-8");
header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With");
?>
 
PREVIOUS NEXT
Tagged: #api #headers #php
ADD COMMENT
Topic
Name
3+3 =