How would i go about replicating this in objective-c
curl -u rick@email.com:mypassword http://foo.lighthouseapp.com/projects.xml
I\'ve been pla
From ASIHTTPRequest Documentation
With a Request Header
[request addRequestHeader:@"Authorization" value:[NSString stringWithFormat:@"Basic %@", [ASIHTTPRequest base64forData: [[NSString stringWithFormat:@"%@:%@", theUsername, thePassword] dataUsingEncoding:NSUTF8StringEncoding]]]];