From c05330129e21811b27e01bb6b166b91357cdb61a Mon Sep 17 00:00:00 2001 From: Sam Soffes Date: Fri, 27 Sep 2013 10:59:05 -0700 Subject: [PATCH 1/3] Fix example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b4eefe5..d3b580e 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,7 @@ NSDictionary *parameters = @{@"foo": @"bar", @"baz": @[@1, @2, @3]}; [[AFHTTPRequestSerializer serializer] requestWithMethod:@"POST" URLString:URLString parameters:parameters]; ``` - GET http://example.com/ + POST http://example.com/ Content-Type: application/x-www-form-urlencoded foo=bar&baz[]=1&baz[]=2&baz[]=3 From 13166f44e8641fc5ac8215535c605987e17fd361 Mon Sep 17 00:00:00 2001 From: Chuck Shnider Date: Fri, 27 Sep 2013 14:21:15 -0400 Subject: [PATCH 2/3] Fix compiler warning when GCC_WARN_ABOUT_MISSING_NEWLINE is enabled --- AFNetworking/AFURLSessionManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFNetworking/AFURLSessionManager.m b/AFNetworking/AFURLSessionManager.m index 8c27a33..f2ee3f4 100644 --- a/AFNetworking/AFURLSessionManager.m +++ b/AFNetworking/AFURLSessionManager.m @@ -848,4 +848,4 @@ expectedTotalBytes:(int64_t)expectedTotalBytes @end -#endif \ No newline at end of file +#endif From ebd5841cac2c523829a0d3bf47dd17657b26e308 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Fri, 27 Sep 2013 12:24:43 -0700 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3b580e..403f0dd 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Choose AFNetworking for your next project, or migrate over your existing project - [Download AFNetworking](https://github.com/AFNetworking/AFNetworking/archive/master.zip) and try out the included Mac and iPhone example apps - Read the ["Getting Started" guide](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking), [FAQ](https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-FAQ), or [other articles on the Wiki](https://github.com/AFNetworking/AFNetworking/wiki) -- Check out the [documentation](http://cocoadocs.org/docsets/AFNetworking/) for a comprehensive look at all of the APIs available in AFNetworking +- Check out the [documentation](http://cocoadocs.org/docsets/AFNetworking/2.0.0/) for a comprehensive look at all of the APIs available in AFNetworking - Questions? [Stack Overflow](http://stackoverflow.com/questions/tagged/afnetworking) is the best place to find answers ### Installation with CocoaPods