For debuging purposes I\'d want to print whole request body. I\'m using AFHTTPClient. printing client gives some information, like headers but post/get params are not there.
You should have a look at https://github.com/AFNetworking/AFHTTPRequestOperationLogger with AFLoggerLevelDebug as level of debugging.
#import "AFHTTPRequestOperationLogger.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
#ifdef DEBUG
[[AFHTTPRequestOperationLogger sharedLogger] startLogging];
[[AFHTTPRequestOperationLogger sharedLogger] setLevel:AFLoggerLevelDebug];
#endif
return YES;
}
@end