ihaodi/HttpsDemo

用您这方法我这边AFNetworking3.0 错400求大神帮忙!

Opened this issue · 0 comments

Loaded MobileCoreServices.framework
Failedwith error code -25293
error-->Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: bad request (400)" UserInfo={NSLocalizedDescription=Request failed: bad request (400), NSErrorFailingURLKey=https://api.ff2.pw/index.php, com.alamofire.serialization.response.error.data=<3c68746d 6c3e0d0a 3c686561 643e3c74 69746c65 3e343030 204e6f20 72657175 69726564 2053534c 20636572 74696669 63617465 20776173 2073656e 743c2f74 69746c65 3e3c2f68 6561643e 0d0a3c62 6f647920 6267636f 6c6f723d 22776869 7465223e 0d0a3c63 656e7465 723e3c68 313e3430 30204261 64205265 71756573 743c2f68 313e3c2f 63656e74 65723e0d 0a3c6365 6e746572 3e4e6f20 72657175 69726564 2053534c 20636572 74696669 63617465 20776173 2073656e 743c2f63 656e7465 723e0d0a 3c68723e 3c63656e 7465723e 6e67696e 782f312e 31332e38 3c2f6365 6e746572 3e0d0a3c 2f626f64 793e0d0a 3c2f6874 6d6c3e0d 0a>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x1c022db80> { URL: https://api.ff2.pw/index.php } { Status Code: 400, Headers {