simplified code and added support for all request methods of AFHTTPRequestOperationManager