Created
June 1, 2018 08:44
-
-
Save farhan-syed/1bb7cbceec48fdd07e6abd67a384ab2c to your computer and use it in GitHub Desktop.
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
let postsURLEndPoint: String = "https://jsonplaceholder.typicode.com/posts/1" | |
Alamofire.request(postsURLEndPoint, method: .get) | |
.responseJSON { response in | |
print(response) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment