{"action":"created","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2154","repository_url":"https://api.github.com/repos/Alamofire/Alamofire","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2154/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2154/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2154/events","html_url":"https://github.com/Alamofire/Alamofire/issues/2154","id":236104785,"number":2154,"title":"Alamofire Weird error \"Extra Argument 'method' in call","user":{"login":"jsiddharth","id":290584,"avatar_url":"https://avatars0.githubusercontent.com/u/290584?v=3","gravatar_id":"","url":"https://api.github.com/users/jsiddharth","html_url":"https://github.com/jsiddharth","followers_url":"https://api.github.com/users/jsiddharth/followers","following_url":"https://api.github.com/users/jsiddharth/following{/other_user}","gists_url":"https://api.github.com/users/jsiddharth/gists{/gist_id}","starred_url":"https://api.github.com/users/jsiddharth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsiddharth/subscriptions","organizations_url":"https://api.github.com/users/jsiddharth/orgs","repos_url":"https://api.github.com/users/jsiddharth/repos","events_url":"https://api.github.com/users/jsiddharth/events{/privacy}","received_events_url":"https://api.github.com/users/jsiddharth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-15T07:48:44Z","updated_at":"2017-06-15T15:42:42Z","closed_at":"2017-06-15T15:42:42Z","body":"My Pod File has\r\n`pod 'Alamofire', '~> 4.4'`\r\n\r\nMy code is\r\n```\r\nimport Alamofire\r\n var postData        : Data! \r\n....\r\nfullURLString = Commons.getFullURL(self.apiUrl) + \"/\" + self.getOrPostType\r\n        fullURL = URL.init(string: fullURLString)\r\n.....\r\n Alamofire.request(fullURL, method: .post, parameters: postData).responseJSON { response in\r\n                        self.responseData = response.result.value\r\n            }\r\n```\r\n\r\nDocumentation at [here](https://github.com/Alamofire/Alamofire)\r\n\r\n> // All three of these calls are equivalent\r\n> Alamofire.request(\"https://httpbin.org/post\", method: .post, parameters: parameters)\r\n> Alamofire.request(\"https://httpbin.org/post\", method: .post, parameters: parameters, encoding: URLEncoding.default)\r\n> Alamofire.request(\"https://httpbin.org/post\", method: .post, parameters: parameters, encoding: URLEncoding.httpBody)\r\n\r\nWhat am I missing here ?"},"comment":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/comments/308777446","html_url":"https://github.com/Alamofire/Alamofire/issues/2154#issuecomment-308777446","issue_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2154","id":308777446,"user":{"login":"jshier","id":51020,"avatar_url":"https://avatars3.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":"2017-06-15T15:42:42Z","updated_at":"2017-06-15T15:42:42Z","body":"The Swift compiler still isn't the greatest when it comes to error diagnostics. I usually adopt a rule of \"when it doubt, check the types\", as type mismatches are the most common cause of bad diagnostics."}}
{"actor":{"display_login":"jshier"}}