{"action":"created","issue":{"url":"https://api.github.com/repos/afollestad/bridge/issues/6","labels_url":"https://api.github.com/repos/afollestad/bridge/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/afollestad/bridge/issues/6/comments","events_url":"https://api.github.com/repos/afollestad/bridge/issues/6/events","html_url":"https://github.com/afollestad/bridge/issues/6","id":107747755,"number":6,"title":".asString() returns null when url is https","user":{"login":"wasdennnoch","id":10065021,"avatar_url":"https://avatars.githubusercontent.com/u/10065021?v=3","gravatar_id":"","url":"https://api.github.com/users/wasdennnoch","html_url":"https://github.com/wasdennnoch","followers_url":"https://api.github.com/users/wasdennnoch/followers","following_url":"https://api.github.com/users/wasdennnoch/following{/other_user}","gists_url":"https://api.github.com/users/wasdennnoch/gists{/gist_id}","starred_url":"https://api.github.com/users/wasdennnoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wasdennnoch/subscriptions","organizations_url":"https://api.github.com/users/wasdennnoch/orgs","repos_url":"https://api.github.com/users/wasdennnoch/repos","events_url":"https://api.github.com/users/wasdennnoch/events{/privacy}","received_events_url":"https://api.github.com/users/wasdennnoch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/afollestad/bridge/labels/can't%20reproduce","name":"can't reproduce","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-22T16:10:41Z","updated_at":"2015-09-25T15:24:06Z","closed_at":null,"body":"Title says everything. When supplying an https url to .get, .post etc response.asString() returns null. Tested with domain https://puush.me"},"comment":{"url":"https://api.github.com/repos/afollestad/bridge/issues/comments/143251339","html_url":"https://github.com/afollestad/bridge/issues/6#issuecomment-143251339","issue_url":"https://api.github.com/repos/afollestad/bridge/issues/6","id":143251339,"user":{"login":"wasdennnoch","id":10065021,"avatar_url":"https://avatars.githubusercontent.com/u/10065021?v=3","gravatar_id":"","url":"https://api.github.com/users/wasdennnoch","html_url":"https://github.com/wasdennnoch","followers_url":"https://api.github.com/users/wasdennnoch/followers","following_url":"https://api.github.com/users/wasdennnoch/following{/other_user}","gists_url":"https://api.github.com/users/wasdennnoch/gists{/gist_id}","starred_url":"https://api.github.com/users/wasdennnoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wasdennnoch/subscriptions","organizations_url":"https://api.github.com/users/wasdennnoch/orgs","repos_url":"https://api.github.com/users/wasdennnoch/repos","events_url":"https://api.github.com/users/wasdennnoch/events{/privacy}","received_events_url":"https://api.github.com/users/wasdennnoch/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T15:24:06Z","updated_at":"2015-09-25T15:24:06Z","body":"Okay, I tested a bit and found out that https wasn't the problem but a redirection that causes the return of null. \r\n\r\nhttps://puush.me/login/go?k=[API key from shared prefs] redirects (302) to http://puush.me/account/ which permantly (301) redirects to https://puush.me/account\r\n\r\nWhen I change lhe login url to http it works for whatever reason."}}