suchen

Heim  >  Fragen und Antworten  >  Hauptteil

objective-c - AFN post请求code=-1011“failed: internal server error (500)" ”

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=<NSHTTPURLResponse: 0x7fce67aba540> { 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,感谢任何帮助

淡淡烟草味淡淡烟草味2770 Tage vor1157

Antworte allen(2)Ich werde antworten

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-02 09:29:38

    请求地址后面 ?什么鬼

    Antwort
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-02 09:29:38

    确认你访问地址没问题的话,让后端查查问题所在。500是服务区内部错误。
    不过像一楼说的,你那个?是什么鬼。用af做post请求的话不需要加?

    Antwort
    0
  • StornierenAntwort