Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php api

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

header('Content-Type: application/json; charset=UTF-8');

header("Access-Control-Allow-Methods: GET");

header("Access-Control-Max-Age:3600");

header("Access-Control-Allow-Headers:*");
Source by localhost #
 
PREVIOUS NEXT
Tagged: #php #api
ADD COMMENT
Topic
Name
7+3 =