Basic Authentication with a NSURLRequest in Cocoa Touch Comments http://www.chrisumbel.com/article/basic_authentication_iphone_cocoa_touch#comments Basic Authentication with a NSURLRequest in Cocoa Touch Sun, 05 Feb 2012 02:56:55 GMT Comment by Muhammad Usman Aleem on Sat Sep 04 2010 22:59:00 GMT+0000 (UTC) i tried this but there are some issues in code. first one which one i resolved is NSString userName = @\"scott\"; NSString password = @\"tiger\"; userName and password are pointer type so \"*\" is missing. 2nd which i was unable to resolve is in Base64 outputBuffer is undeclared and use first time in this function. so please tell me how to resolve this problem. http://www.chrisumbel.com/article/basic_authentication_iphone_cocoa_touch#comments_4c82cf3475fd7f798c000009 http://www.chrisumbel.com/article/basic_authentication_iphone_cocoa_touch#comments_4c82cf3475fd7f798c000009 Sat, 04 Sep 2010 22:59:00 GMT Comment by chrisumbel on Sat Sep 04 2010 22:59:44 GMT+0000 (UTC) ah, thanks for pointing those out. i've updated both sections of code to address the issues you pointed out. http://www.chrisumbel.com/article/basic_authentication_iphone_cocoa_touch#comments_4c82cf6075fd7f798c00000b http://www.chrisumbel.com/article/basic_authentication_iphone_cocoa_touch#comments_4c82cf6075fd7f798c00000b Sat, 04 Sep 2010 22:59:44 GMT