objective-c - AFN post请求code=-1011“failed: internal server error (500)" ”
淡淡烟草味
淡淡烟草味 2017-05-02 09:27:38
0
2
1076

1,post请求不到数据
2

3报错信息
Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: internal server error (500)" UserInfo={com.alamofire.serialization.response.error.response= { URL: http://192.168.1.10:8080/web/Login? } { status code: 500, headers {

Connection = close; "Content-Language" = en; "Content-Length" = 4135; "Content-Type" = "text/html;charset=utf-8"; Date = "Sat, 16 Jul 2016 06:44:55 GMT"; Server = "Apache-Coyote/1.1";

} }, NSErrorFailingURLKey=http://192.168.1.10:8080/web/Login?, com.alamofire.serialization.response.error.data=<3c68746d 6c3e3c68 6d6c3e>, NSLocalizedDescription=Request failed: internal server error (500)}
5,感谢任何帮助

淡淡烟草味
淡淡烟草味

reply all (2)
过去多啦不再A梦

What the hell is behind the request address?

    伊谢尔伦

    If you confirm that there is no problem with your access address, let the backend check the problem. 500 is an internal error in the service area.
    But like what the first floor said, what the hell is that? If you use af to make a post request, do you need to add it?

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!