【发布时间】:2015-03-17 14:00:59
【问题描述】:
谁能帮我解决以下错误
--> 在 AFNetworking 2.5 中使用“删除”方法时出错
Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: forbidden (403)" UserInfo=0x7fec59455ac0
com.alamofire.serialization.response.error.response=<NSHTTPURLResponse:
0x7fec59458aa0> {
URL: http://server.net:8081/api?JobId=4&UserId=13&X-API-KEY=89823424323432424khk234kj34kj235jk
}
{
status code: 403, headers
{
Connection = "Keep-Alive";
"Content-Length" = 43;
"Content-Type" = "application/json; charset=utf-8";
Date = "Tue, 17 Mar 2015 13:33:57 GMT";
"Keep-Alive" = "timeout=5, max=100";
Server = "Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15";
"X-Powered-By" = "PHP/5.5.15";
}
},
【问题讨论】:
标签: ios afnetworking