Launch application in development environment.
$ php -S 0.0.0.0:9090 -t .
Enable CORS on server side
header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Headers: *"); if($_SERVER['REQUEST_METHOD'] == "OPTIONS") die();