Skip to content

Instantly share code, notes, and snippets.

@mgrebenets
Created March 10, 2018 10:53
Show Gist options
  • Save mgrebenets/fecc3cfe5e1fad74cb1ef5a0565312d0 to your computer and use it in GitHub Desktop.
Save mgrebenets/fecc3cfe5e1fad74cb1ef5a0565312d0 to your computer and use it in GitHub Desktop.
Async Swift Scripting - 1
import Alamofire
Alamofire.request("http://httpbin.org/get")
.responseJSON { response in
print(response) // Result of response serialization
}
print("Done")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment