Skip to content

Instantly share code, notes, and snippets.

@kaz29
Created August 26, 2016 00:49
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 kaz29/3b5dc258dc502a67ab129139291e598c to your computer and use it in GitHub Desktop.
Save kaz29/3b5dc258dc502a67ab129139291e598c to your computer and use it in GitHub Desktop.
Alamofire custom encode example
let url = "https://api.example.com/foo"
let paramaters = ["foo": "bar"]
let encoding = makeCustomEncoding()
Alamofire.request(.GET, url, parameters: parameters, encoding: encoding)
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment