Skip to content

Instantly share code, notes, and snippets.

@stevencurtis
Created June 17, 2020 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevencurtis/4edc2a7f3b0b77db41dd1c5d7485cbc2 to your computer and use it in GitHub Desktop.
Save stevencurtis/4edc2a7f3b0b77db41dd1c5d7485cbc2 to your computer and use it in GitHub Desktop.
AFRequest
import UIKit
import Alamofire
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
AF.request("https://httpbin.org/get").response { response in
print(response)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment