Created
March 10, 2018 10:53
-
-
Save mgrebenets/fecc3cfe5e1fad74cb1ef5a0565312d0 to your computer and use it in GitHub Desktop.
Async Swift Scripting - 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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