摘要:
+ (void)sendAsynchronousRequest:(NSURLRequest*) request queue:(NSOperationQueue*) queue completionHandler:(void (^)(NSURLResponse* _... 阅读全文
摘要:
/// POST JSON 的主方法 主要设置 Content-Type 为 application/json 剩下就是将 类转为JSON 格式二进制数- (void)postJSON:(NSData *)data { // 1. url NSURL *url = [NSURL URLWithS... 阅读全文
摘要:
具体可查看以下网址本文只做简单概述以及前端IOS的使用http://www.ruanyifeng.com/blog/2011/09/restful.htmlhttp://www.cnblogs.com/artech/p/restful-web-api-02.html一、RESTful 特点(1)资源... 阅读全文