{"action":"opened","issue":{"url":"https://api.github.com/repos/parnurzeal/gorequest/issues/97","repository_url":"https://api.github.com/repos/parnurzeal/gorequest","labels_url":"https://api.github.com/repos/parnurzeal/gorequest/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/parnurzeal/gorequest/issues/97/comments","events_url":"https://api.github.com/repos/parnurzeal/gorequest/issues/97/events","html_url":"https://github.com/parnurzeal/gorequest/issues/97","id":173143209,"number":97,"title":"Middleware support","user":{"login":"yort","id":1297577,"avatar_url":"https://avatars.githubusercontent.com/u/1297577?v=3","gravatar_id":"","url":"https://api.github.com/users/yort","html_url":"https://github.com/yort","followers_url":"https://api.github.com/users/yort/followers","following_url":"https://api.github.com/users/yort/following{/other_user}","gists_url":"https://api.github.com/users/yort/gists{/gist_id}","starred_url":"https://api.github.com/users/yort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yort/subscriptions","organizations_url":"https://api.github.com/users/yort/orgs","repos_url":"https://api.github.com/users/yort/repos","events_url":"https://api.github.com/users/yort/events{/privacy}","received_events_url":"https://api.github.com/users/yort/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-25T08:31:57Z","updated_at":"2016-08-25T08:31:57Z","closed_at":null,"body":"Hi Guys,\r\n\r\nIs there any support for middleware in gorequest? I've had a look through the code and nothing stands out.\r\n\r\nIf there isn't middleware support is there a way to hack something in outside of gorequest to accomplish the same thing?\r\n\r\nThe situation I have is that I am interacting with some internal endpoints which use nonstandard authentication (not oauth for example), which randomly redirect you to a login endpoint, I need to be able to detect this happening, if it does then I need to submit a login request to get a new access key, and then continue with the original request.\r\n\r\nHope that all makes sense.\r\n\r\nThanks\r\nYorT/Troy"}}
{"actor":{"display_login":"yort"}}