Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class func getProfileUserId(userId: Int, handler: UserProfileHandler) {
- let url = "\(baseURL)/user/profile/\(userId)"
- NetworkManager.requestWith(url, reqMethod: .GET, dataToSend: ["userId":userId],
- uploadImage: nil, handler: { (json, error) in
- print(json)
- if json != nil && error == nil {
- …
Add Comment
Please, Sign In to add comment