开发者

Connecting between iPhone and server

I am iPhone developer. I have used JSON framework to communicate between iphone and server, send and receive response. But besides JSON, I would like to know more framework that allow us to communicate between iphone and server. Do you suggest some fr开发者_运维知识库amework?

Thanks and best regards


REST, XML, HTML and parsing… the possibilities are endless. The best protocols to use so that you can use open-sourced and well tested code are JSON and XML


ASIHTTPRequest makes the communictaion to HTTP-Server really easy. You can send/retrieve JSON, XML, HTML, Files,...

cocoahttpserver allows you to start your own Web server on the device. Again JSON, XML, HTML, Files,...

edit sending files to server

ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
[request setFile:@"/Users/ben/Desktop/ben.jpg" forKey:@"photo"];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜