DANCurlRequest 1.0.2

DANCurlRequest 1.0.2

测试已测试
语言语言 Obj-CObjective C
许可 MIT
发布最新发布2016年6月

Daniel Tomlinson维护。



快速将以 cURL 字符串形式输出的 NSURLRequests。

用法

NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"https://api.github.com/zen"]];
[request addValue:@"application/json" forHTTPHeaderField:@"Accept"];
[request setHTTPMethod:@"GET"];

NSString *curl = [request dan_curlRequest];