Created
November 17, 2017 07:40
-
-
Save shiningabdul/b90569178d59c469d46166016b0c8687 to your computer and use it in GitHub Desktop.
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 user = User() | |
user.id = "233" | |
APICaller.sharedInstance.performCallToEndpoint("/users", using: "POST", | |
body: user, responseType:User.self) { (error, serverError, response) -> () in | |
if let response = response { | |
print(response) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment