I'm a COMPLETE DUMMY in ASIHTTPRequest. I have just downloaded the library and added it to my project and now i'm trying to understand basics of working with it. I've found some pretty good example here
this little tutorial is about uploading images to a server. I tried it and things seem to work (but i'm confused with NSString returned by [request responseString], it returned HTML code of a whole web page ) but i would like to know how to download images (or anything uploaded) back from the server. After searching a bit i found this and it gave me no answers but more questions only, cause it's quite unclear for me. Let me enumurate my questions:
1) Could you please provide me with a little piece of code showing how to download data (no matter what kind of data: images,strings,numbers etc) from a server?
2)Should i know php code of the server side in order to work with a server?
3)If yes - how do i know php code of the server side?
4)How important is it if a request is proccessed by a php script or by any different means?
5)What is the role of responseString? Is it ok that it returned me a huge HTML code?
6)The main question. Is there a good tutorial for ASIHTTPRequest? Something like "ASIHTTPRequest for dummies"? I found official documentation here but it explains the stuff really poorly and i just can't find any other tutorials.
Any help is desperately needed.