alamofire failure response body code example
Example: alamofire failure response body
if let data = response.data {
let json = String(data: data, encoding: .utf8)
print("Failure Response: \(json)")
}
if let data = response.data {
let json = String(data: data, encoding: .utf8)
print("Failure Response: \(json)")
}