{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/16536","repository_url":"https://api.github.com/repos/angular/angular.js","labels_url":"https://api.github.com/repos/angular/angular.js/issues/16536/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/16536/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/16536/events","html_url":"https://github.com/angular/angular.js/issues/16536","id":316672416,"number":16536,"title":"Two time API call on server using Angular Js Code","user":{"login":"jaiminrockersinfo","id":11418918,"avatar_url":"https://avatars0.githubusercontent.com/u/11418918?v=4","gravatar_id":"","url":"https://api.github.com/users/jaiminrockersinfo","html_url":"https://github.com/jaiminrockersinfo","followers_url":"https://api.github.com/users/jaiminrockersinfo/followers","following_url":"https://api.github.com/users/jaiminrockersinfo/following{/other_user}","gists_url":"https://api.github.com/users/jaiminrockersinfo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaiminrockersinfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaiminrockersinfo/subscriptions","organizations_url":"https://api.github.com/users/jaiminrockersinfo/orgs","repos_url":"https://api.github.com/users/jaiminrockersinfo/repos","events_url":"https://api.github.com/users/jaiminrockersinfo/events{/privacy}","received_events_url":"https://api.github.com/users/jaiminrockersinfo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-23T06:06:34Z","updated_at":"2018-04-23T06:31:05Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nWe have using angularJS for front-end and Laravel api for backend.\r\nIn Local server API successfully call but in my live server first API call with **Request Method: OPTION** \r\nand another **API** call with **Request Method: GET** \r\n\r\nUsing this process loading take too much time in my server \r\nHow to solve two time api call issue in my server?\r\n\r\nPlease check below screen short for more details.\r\n**Request Method: OPTION**\r\n![2018-04-22 1](https://user-images.githubusercontent.com/11418918/39109347-234405b4-46ea-11e8-8b41-86f26cbad932.png)\r\n\r\n **Request Method: GET**\r\n![2018-04-22-getmethod](https://user-images.githubusercontent.com/11418918/39109411-74f2ed08-46ea-11e8-9eda-a63a700b7b0c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/383468682","html_url":"https://github.com/angular/angular.js/issues/16536#issuecomment-383468682","issue_url":"https://api.github.com/repos/angular/angular.js/issues/16536","id":383468682,"user":{"login":"frederikprijck","id":2146903,"avatar_url":"https://avatars0.githubusercontent.com/u/2146903?v=4","gravatar_id":"","url":"https://api.github.com/users/frederikprijck","html_url":"https://github.com/frederikprijck","followers_url":"https://api.github.com/users/frederikprijck/followers","following_url":"https://api.github.com/users/frederikprijck/following{/other_user}","gists_url":"https://api.github.com/users/frederikprijck/gists{/gist_id}","starred_url":"https://api.github.com/users/frederikprijck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frederikprijck/subscriptions","organizations_url":"https://api.github.com/users/frederikprijck/orgs","repos_url":"https://api.github.com/users/frederikprijck/repos","events_url":"https://api.github.com/users/frederikprijck/events{/privacy}","received_events_url":"https://api.github.com/users/frederikprijck/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T06:31:05Z","updated_at":"2018-04-23T06:31:05Z","author_association":"CONTRIBUTOR","body":"@jaiminrockersinfo Please read the article, this is how CORS works. CORS does an OPTION call prior to your actual call to detect the call is allowed from another origin."}}
{"actor":{"display_login":"frederikprijck"}}