Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

I updated the new AFN version.When i am testing i requested failed.

EnMingHuang edited this page Jun 7, 2016 · 1 revision

error:Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: method not allowed (405)" UserInfo=0x1769c9d0 {com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x176c4f20> { URL: http:https://xxx/api/xxx/xx } { status code: 405, headers { Connection = close; "Content-Length" = 166; "Content-Type" = "text/html"; Date = "Tue, 07 Jun 2016 03:57:50 GMT"; Server = nginx; } }, NSErrorFailingURLKey=http:https://xxx/api/xxx/xx, NSLocalizedDescription=Request failed: method not allowed (405),