Automatic Validation

suggest change
Alamofire.request("https://httpbin.org/get").validate().responseJSON { response in
switch response.result {
case .success:
    print("Validation Successful")
case .failure(let error):
    print(error)
 }
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents