Answers for "swift get body from response"

1

alamofire failure response body

if let data = response.data {
    let json = String(data: data, encoding: .utf8)
    print("Failure Response: \(json)")
}
Posted by: Guest on August-05-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language