a guest Jun 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- NSDictionary *api_token_header = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"X-API-Token", @"MY API KEY", nil] forKeys:[NSArray arrayWithObjects:@"name", @"value", nil]];
- [Connection setRequestHeaders:[NSArray arrayWithObject:api_token_header]];
RAW Paste Data