{"action":"created","issue":{"url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3274","repository_url":"https://api.github.com/repos/AFNetworking/AFNetworking","labels_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3274/labels{/name}","comments_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3274/comments","events_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3274/events","html_url":"https://github.com/AFNetworking/AFNetworking/issues/3274","id":125942746,"number":3274,"title":"unrecognized selector sent to instance","user":{"login":"JxbSir","id":9983806,"avatar_url":"https://avatars.githubusercontent.com/u/9983806?v=3","gravatar_id":"","url":"https://api.github.com/users/JxbSir","html_url":"https://github.com/JxbSir","followers_url":"https://api.github.com/users/JxbSir/followers","following_url":"https://api.github.com/users/JxbSir/following{/other_user}","gists_url":"https://api.github.com/users/JxbSir/gists{/gist_id}","starred_url":"https://api.github.com/users/JxbSir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JxbSir/subscriptions","organizations_url":"https://api.github.com/users/JxbSir/orgs","repos_url":"https://api.github.com/users/JxbSir/repos","events_url":"https://api.github.com/users/JxbSir/events{/privacy}","received_events_url":"https://api.github.com/users/JxbSir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-11T13:22:59Z","updated_at":"2016-02-22T07:10:30Z","closed_at":"2016-01-11T14:56:03Z","body":"//this used is ok\r\n- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString\r\n                    parameters:(nullable id)parameters\r\n                       success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\r\n                       failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure DEPRECATED_ATTRIBUTE;\r\n\r\n\r\n//this error :  POST:parameters:progress:success:failure:]: unrecognized selector sent to instance 0x7f93f2606080\r\n- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString\r\n                             parameters:(nullable id)parameters\r\n                               progress:(nullable void (^)(NSProgress *uploadProgress)) uploadProgress\r\n                                success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success\r\n                                failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;"},"comment":{"url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/comments/187045145","html_url":"https://github.com/AFNetworking/AFNetworking/issues/3274#issuecomment-187045145","issue_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3274","id":187045145,"user":{"login":"JxbSir","id":9983806,"avatar_url":"https://avatars.githubusercontent.com/u/9983806?v=3","gravatar_id":"","url":"https://api.github.com/users/JxbSir","html_url":"https://github.com/JxbSir","followers_url":"https://api.github.com/users/JxbSir/followers","following_url":"https://api.github.com/users/JxbSir/following{/other_user}","gists_url":"https://api.github.com/users/JxbSir/gists{/gist_id}","starred_url":"https://api.github.com/users/JxbSir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JxbSir/subscriptions","organizations_url":"https://api.github.com/users/JxbSir/orgs","repos_url":"https://api.github.com/users/JxbSir/repos","events_url":"https://api.github.com/users/JxbSir/events{/privacy}","received_events_url":"https://api.github.com/users/JxbSir/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T07:10:30Z","updated_at":"2016-02-22T07:10:30Z","body":"Thanks.\r\n \r\n \r\n------------------ Original ------------------\r\nFrom:  \"Ignacio Romero Zurbuchen\"<notifications@github.com>;\r\nDate:  Tue, Feb 16, 2016 07:24 AM\r\nTo:  \"AFNetworking/AFNetworking\"<AFNetworking@noreply.github.com>; \r\nCc:  \"Peter Jin\"<i@jxb.name>; \r\nSubject:  Re: [AFNetworking] unrecognized selector sent to instance (#3274)\r\n\r\n \r\n\r\nWhy is it that POST:parameters:success:failure: is flagged to be deprecated exactly?\r\n It's a very convenient method, when you don't need the request's progress callback.\r\n \r\n—\r\nReply to this email directly or view it on GitHub."}}