Skip to content

Instantly share code, notes, and snippets.

@farhan-syed
Created June 1, 2018 08:44
Show Gist options
  • Save farhan-syed/1bb7cbceec48fdd07e6abd67a384ab2c to your computer and use it in GitHub Desktop.
Save farhan-syed/1bb7cbceec48fdd07e6abd67a384ab2c to your computer and use it in GitHub Desktop.
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