Dev-Notes: Exploring Laravel 5 PHP Framework
Create a folder under C:\Wamp\www\Application1 Go to Application1 folder Type in Run a command line into the Laravel project in this case C:\WAMP\www\xxx\laravel PHP artisan –help /.env Add the following code in the top of /bootstrap/app.php // allow originheader(‘Access-Control-Allow-Origin: *’);header(‘Access-Control-Allow-Methods: POST, GET, OPTIONS’);// add any additional headers you need to support hereheader(‘Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, […]