Created
August 26, 2016 00:49
-
-
Save kaz29/3b5dc258dc502a67ab129139291e598c to your computer and use it in GitHub Desktop.
Alamofire custom encode example
This file contains 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 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