{"action":"created","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1530","repository_url":"https://api.github.com/repos/Alamofire/Alamofire","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1530/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1530/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1530/events","html_url":"https://github.com/Alamofire/Alamofire/issues/1530","id":176896451,"number":1530,"title":"GET Request with JSONEncoding doesn't work","user":{"login":"gcjg","id":4488345,"avatar_url":"https://avatars.githubusercontent.com/u/4488345?v=3","gravatar_id":"","url":"https://api.github.com/users/gcjg","html_url":"https://github.com/gcjg","followers_url":"https://api.github.com/users/gcjg/followers","following_url":"https://api.github.com/users/gcjg/following{/other_user}","gists_url":"https://api.github.com/users/gcjg/gists{/gist_id}","starred_url":"https://api.github.com/users/gcjg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcjg/subscriptions","organizations_url":"https://api.github.com/users/gcjg/orgs","repos_url":"https://api.github.com/users/gcjg/repos","events_url":"https://api.github.com/users/gcjg/events{/privacy}","received_events_url":"https://api.github.com/users/gcjg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Alamofire/Alamofire/labels/support","name":"support","color":"FC6808"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-14T12:39:31Z","updated_at":"2016-09-15T13:48:00Z","closed_at":"2016-09-15T00:01:22Z","body":"I could have this wrong, but the following doesn't work in master:\r\n\r\nmanager.request(\"....\", method: .get, parameters: parameters, encoding: JSONEncoding.default)\r\n\r\nAs far as I can tell Alamofire eats the request, doesn't send anything out on the wire, and just times-out after a while.\r\n\r\nWhereas this works perfectly:\r\n\r\nmanager.request(\"....\", method: .post, parameters: parameters, encoding: JSONEncoding.default)\r\n\r\nThe only difference being the get versus post method. Furthermore, if I do the get but use URLEncoding it works fine.\r\n\r\nIs there a bug?"},"comment":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/comments/247332748","html_url":"https://github.com/Alamofire/Alamofire/issues/1530#issuecomment-247332748","issue_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1530","id":247332748,"user":{"login":"jshier","id":51020,"avatar_url":"https://avatars.githubusercontent.com/u/51020?v=3","gravatar_id":"","url":"https://api.github.com/users/jshier","html_url":"https://github.com/jshier","followers_url":"https://api.github.com/users/jshier/followers","following_url":"https://api.github.com/users/jshier/following{/other_user}","gists_url":"https://api.github.com/users/jshier/gists{/gist_id}","starred_url":"https://api.github.com/users/jshier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshier/subscriptions","organizations_url":"https://api.github.com/users/jshier/orgs","repos_url":"https://api.github.com/users/jshier/repos","events_url":"https://api.github.com/users/jshier/events{/privacy}","received_events_url":"https://api.github.com/users/jshier/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T13:48:00Z","updated_at":"2016-09-15T13:48:00Z","body":"If you can provide a test project that can replicate the behavior you're seeing, feel free to add it to this issue and I'll reopen or open a new issue. Until then, I've verified the scenario you've described works fine, both in our tests and in a demo app I set up fresh. My only point in bringing up the details of `JSONEncoding` was to ensure you knew about this behavior, as some servers don't parse body details from GET requests (like `httpbin.org`). "}}
{"actor":{"display_login":"jshier"}}