我使用AFN发送一个post请求,报了以下的错误,但是安卓和postman能请求的到数据,跪求各位大神帮我看一下问题出在哪里
Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: internal server error (500)" UserInfo={com.alamofire.serialization.response.error.response= { URL: http://123.207.232.93/api/Cart/cart_list } { status code: 500, headers {
Server = Apache;
Content-Type = text/html; charset=UTF-8;
Pragma = no-cache;
Cache-Control = no-store, no-cache, must-revalidate, post-check=0, pre-check=0;
Date = Thu, 22 Jun 2017 09:33:30 GMT;
Content-Length = 0;
Expires = Thu, 19 Nov 1981 08:52:00 GMT;
Connection = close;
}
}, NSErrorFailingURLKey=http://123.207.232.93/api/Cart/cart_list, com.alamofire.serialization.response.error.data=<>, NSLocalizedDescription=Request failed: internal server error (500)}