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
If you are using ASIHTTPRequest, this is all that is needed:
request.shouldPresentCredentialsBeforeChallenge = YES; [request addBasicAuthenticationHeaderWithUsername:@"USER" andPassword:@"PASSWORD"];