title: I cant get rid of Request failed: bad request (400)
body: <pre><code>NSDictionary *parameters = @{
                               @"project_name": @"hasanProj",
                               @"project_desc" : @"testing...",
                               @"project_date" : @"2015-2-22"
                               };
  
  AFHTTPSessionManager *manager = [[AFHTTPSessionManager alloc]initWithBaseURL:[NSURL URLWithString:@"http://serverIP"]];
  manager.responseSerializer = [AFJSONResponseSerializer serializer];
  manager.requestSerializer = [AFJSONRequestSerializer serializer];
  [manager.requestSerializer setValue:[HRUser sharedUser].userApiKey forHTTPHeaderField:@"Authorization"];
  [manager POST:@"/rest/v1/project" parameters:parameters success:^(NSURLSessionDataTask *task, id responseObject) {
  
      NSLog(@"%@",responseObject);
  
  } failure:^(NSURLSessionDataTask *task, NSError *error) {
      NSLog(@"error: %@",error.localizedDescription);
  }];
  </code></pre>
  
  <p>This code is returning <code>Request failed: bad request (400)</code>.</p>
  
  <p>I checked parameter, url they are all correct. I called it from chrome extension postman and getting correct result.</p>
  
  <p>And other requests are working perfectly, even get is working fine.</p>
  
  <p>But why I am getting <code>Request failed: bad request (400)</code> on this?</p>