Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

endocrimes/DANCurlRequest

Repository files navigation

DANCurlRequest Build Status License

Quickly output NSURLRequests as cURL strings.

Usage:

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];