Guest User

Untitled

a guest
Oct 21st, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. class func getProfileUserId(userId: Int, handler: UserProfileHandler) {
  2.  
  3. let url = "\(baseURL)/user/profile/\(userId)"
  4.  
  5. NetworkManager.requestWith(url, reqMethod: .GET, dataToSend: ["userId":userId],
  6. uploadImage: nil, handler: { (json, error) in
  7.  
  8. print(json)
  9.  
  10. if json != nil && error == nil {
Add Comment
Please, Sign In to add comment