I'd also like to inform the developers that if I follow the sample step-by-step and write "NSData *stream =[response getStream];", Xcode shows a warning since [response getStream ] returns a NSString and not a NSData.