阅读背景:

在HTTP错误期间获取响应正文的任何方法?

来源:互联网 

I'm hitting an API that will occasionally throw a HTTP 403 error, and the response body can give some extra information in the form of json, however for the life of me I can't seem to get the information back out from the Alamofire response objects. I see the information in developer tools if I hit the API via chrome. Here's my code:I'm hitting an API that will occasionally throw




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: