Objective-c - AFN post請求代碼=-1011'失敗:伺服器內部錯誤(500)” ”
淡淡烟草味
淡淡烟草味 2017-05-02 09:27:38
0
2
1120

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. 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> }
5,感謝任何幫助

淡淡烟草味
淡淡烟草味

全部回覆(2)
过去多啦不再A梦

請求地址後面 ?什麼鬼

伊谢尔伦

確認你訪問地址沒問題的話,讓後端查查問題所在。 500是服務區內部錯誤。
不過像一樓說的,你那個?是什麼鬼。用af做post請求的話不需要加?

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!