Add the following headers to the HTML file:
<!DOCTYPE html>
<html>
<head>
<?php
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST');
?>
.
.
.
<!DOCTYPE html>
<html>
<head>
<?php
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST');
?>
.
.
.
No comments:
Post a Comment