Error code -1011 when I use AFNetWorking

前端 未结 2 1811
甜味超标
甜味超标 2021-01-02 07:20

I am doing a service in our customer company. And I try to get some information from their server by AFNetWorking (Our customer encourage to use AFNetWorking) I did some sam

2条回答
  •  自闭症患者
    2021-01-02 07:53

    As reference because of high search result via google...

    For others that are looking for the possible error codes retrieved via AFNetworking, consult the apple documentation for URL Loading System Error Codes as these are the same.

    NSURLErrorBadServerResponse = -1011

    Returned when the URL Loading system receives bad data from the server. This is equivalent to the “500 Server Error” message sent by HTTP servers.

提交回复
热议问题