Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + (void)loadRecentWithDelegate:(id)aDelegate
- {
- //PostInfo is a dictionary containing username:marcus, password:secret
- NSMutableDictionary *stuff = [aDelegate postInfo];
- NSDictionary *opts = [NSDictionary dictionaryWithObject:[stuff JSONRepresentation] forKey:@"body"];
- [self postPath:@"/rest/resources/account/login" withOptions:opts object:aDelegate];
- }
Add Comment
Please, Sign In to add comment