Guest User

Untitled

a guest
May 1st, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1.  
  2. + (void)loadRecentWithDelegate:(id)aDelegate
  3. {
  4. //PostInfo is a dictionary containing username:marcus, password:secret
  5. NSMutableDictionary *stuff = [aDelegate postInfo];
  6. NSDictionary *opts = [NSDictionary dictionaryWithObject:[stuff JSONRepresentation] forKey:@"body"];
  7. [self postPath:@"/rest/resources/account/login" withOptions:opts object:aDelegate];
  8. }
Add Comment
Please, Sign In to add comment