SVHTTPRequest 介绍
SVHTTPRequest 是用于 iOS 和 Mac 上的一个简单的 REST 客户端开发包。
示例代码:
[SVHTTPRequest GET:@"https://api.github.com/repos/samvermette/SVHTTPRequest" parameters:nil completion:^(id response, NSHTTPURLResponse *urlResponse, NSError *error) { watchersLabel.text = [Nsstring stringWithFormat:@"SVHTTPRequest has %@ watchers", [response valueForKey:@"watchers"]]; }]; @H_404_7@SVHTTPRequest 官网