{"action":"created","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/51","labels_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/51/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/51/events","html_url":"https://github.com/barryvdh/laravel-cors/issues/51","id":92775641,"number":51,"title":"The Preflight OPTIONS headers are not appended when executing the link","user":{"login":"kennyyap92","id":13159260,"avatar_url":"https://avatars.githubusercontent.com/u/13159260?v=3","gravatar_id":"","url":"https://api.github.com/users/kennyyap92","html_url":"https://github.com/kennyyap92","followers_url":"https://api.github.com/users/kennyyap92/followers","following_url":"https://api.github.com/users/kennyyap92/following{/other_user}","gists_url":"https://api.github.com/users/kennyyap92/gists{/gist_id}","starred_url":"https://api.github.com/users/kennyyap92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennyyap92/subscriptions","organizations_url":"https://api.github.com/users/kennyyap92/orgs","repos_url":"https://api.github.com/users/kennyyap92/repos","events_url":"https://api.github.com/users/kennyyap92/events{/privacy}","received_events_url":"https://api.github.com/users/kennyyap92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-03T02:17:50Z","updated_at":"2015-11-03T10:42:38Z","closed_at":null,"body":"Would like to apologize because I am still new to Laravel and Cors but I am using the v0.7 pull with laravel 5.0, i manage to install everything but I am facing a problem whereby my preflight OPTIONS are not returned with the necessary headers. Look at the image below: \r\n\r\n![vyubb](https://cloud.githubusercontent.com/assets/13159260/8491476/f102e47c-216b-11e5-8b93-74b2e811aebe.png)\r\n\r\nThe link is being called by AngularJS v1.3.15 with $resource \r\n\r\nI manage to make a dirty override by adding those 3 lines in route.php but i do not want to maintain with such approach\r\n\r\n>header(\"Access-Control-Allow-Origin: *\");\r\n>header(\"Access-Control-Allow-Headers: ACCEPT, CONTENT-TYPE, X-CSRF-TOKEN\");\r\n>header(\"Access-Control-Allow-Methods: GET, POST, OPTIONS, DELETE\");\r\n\r\nI wonder if someone could provide me with a guide on how to properly work this module. Thanks\r\n\r\nI also have a topic in [Stackoverflow](http://stackoverflow.com/questions/31184740/angularjs-access-control-allow-origin-using-laravel-cors) which also records the updated I have done."},"comment":{"url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/comments/153311817","html_url":"https://github.com/barryvdh/laravel-cors/issues/51#issuecomment-153311817","issue_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/51","id":153311817,"user":{"login":"sachintaware","id":1187801,"avatar_url":"https://avatars.githubusercontent.com/u/1187801?v=3","gravatar_id":"","url":"https://api.github.com/users/sachintaware","html_url":"https://github.com/sachintaware","followers_url":"https://api.github.com/users/sachintaware/followers","following_url":"https://api.github.com/users/sachintaware/following{/other_user}","gists_url":"https://api.github.com/users/sachintaware/gists{/gist_id}","starred_url":"https://api.github.com/users/sachintaware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachintaware/subscriptions","organizations_url":"https://api.github.com/users/sachintaware/orgs","repos_url":"https://api.github.com/users/sachintaware/repos","events_url":"https://api.github.com/users/sachintaware/events{/privacy}","received_events_url":"https://api.github.com/users/sachintaware/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T10:42:38Z","updated_at":"2015-11-03T10:42:38Z","body":" I am facing a similar issue and i am using angular as well,did you fix this? Error message is:\r\n\r\n          Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response."}}