{"action":"created","issue":{"url":"https://api.github.com/repos/dingo/api/issues/1237","repository_url":"https://api.github.com/repos/dingo/api","labels_url":"https://api.github.com/repos/dingo/api/issues/1237/labels{/name}","comments_url":"https://api.github.com/repos/dingo/api/issues/1237/comments","events_url":"https://api.github.com/repos/dingo/api/issues/1237/events","html_url":"https://github.com/dingo/api/issues/1237","id":184743518,"number":1237,"title":"Accessing the request in the Controller","user":{"login":"tyteen4a03","id":440015,"avatar_url":"https://avatars.githubusercontent.com/u/440015?v=3","gravatar_id":"","url":"https://api.github.com/users/tyteen4a03","html_url":"https://github.com/tyteen4a03","followers_url":"https://api.github.com/users/tyteen4a03/followers","following_url":"https://api.github.com/users/tyteen4a03/following{/other_user}","gists_url":"https://api.github.com/users/tyteen4a03/gists{/gist_id}","starred_url":"https://api.github.com/users/tyteen4a03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyteen4a03/subscriptions","organizations_url":"https://api.github.com/users/tyteen4a03/orgs","repos_url":"https://api.github.com/users/tyteen4a03/repos","events_url":"https://api.github.com/users/tyteen4a03/events{/privacy}","received_events_url":"https://api.github.com/users/tyteen4a03/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-24T03:51:23Z","updated_at":"2016-12-27T11:15:24Z","closed_at":"2016-10-24T04:02:10Z","body":"EDIT: Nevermind, it was my fault.\n\nHow do I access `$request` in the Controller? I used the normal Laravel method (`$request` as parameter of controller function) but nothing gets passed into that.\n\nNowhere in the wiki is there code to access `$request` as well.\n"},"comment":{"url":"https://api.github.com/repos/dingo/api/issues/comments/269312481","html_url":"https://github.com/dingo/api/issues/1237#issuecomment-269312481","issue_url":"https://api.github.com/repos/dingo/api/issues/1237","id":269312481,"user":{"login":"tyteen4a03","id":440015,"avatar_url":"https://avatars.githubusercontent.com/u/440015?v=3","gravatar_id":"","url":"https://api.github.com/users/tyteen4a03","html_url":"https://github.com/tyteen4a03","followers_url":"https://api.github.com/users/tyteen4a03/followers","following_url":"https://api.github.com/users/tyteen4a03/following{/other_user}","gists_url":"https://api.github.com/users/tyteen4a03/gists{/gist_id}","starred_url":"https://api.github.com/users/tyteen4a03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyteen4a03/subscriptions","organizations_url":"https://api.github.com/users/tyteen4a03/orgs","repos_url":"https://api.github.com/users/tyteen4a03/repos","events_url":"https://api.github.com/users/tyteen4a03/events{/privacy}","received_events_url":"https://api.github.com/users/tyteen4a03/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T11:15:24Z","updated_at":"2016-12-27T11:15:24Z","body":"@michabbb If you typehint `$request` as an instance of `Illuminate\\Http\\Request` it should get injected."}}
{"actor":{"display_login":"tyteen4a03"}}