Add header(‘Access-Control-Allow-Origin: *’);
right after php opening tags in service.php.
JSON (JavaScript Object Notation):
JQuery:
JQuery get & post:
Short Path to Success
Add header(‘Access-Control-Allow-Origin: *’);
right after php opening tags in service.php.
JSON (JavaScript Object Notation):
JQuery:
JQuery get & post: