title: AFNetwoking POST call returns 500 internal server error but server got request parameter
body: <p>I'm trying to upload my payment success message to my server. Below are my code</p>
  
  <pre><code>AFHTTPRequestOperationManager *manager = [[AFHTTPRequestOperationManager alloc] init];
  [manager.requestSerializer setValue:[NSString stringWithFormat:@"Bearer %@",myTokenString] forHTTPHeaderField: @"Authorization"];
  
  
  AFHTTPRequestOperation *operation = [manager POST:@"MYAPI" parameters:paramsDict success:^(AFHTTPRequestOperation *operation, id responseObject) {
  
      NSLog(@"%@",responseObject);
  
  
  } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
  
      NSLog(@"%@",error.localizedDescription);
  
  }];
  [operation start];
  </code></pre>
  
  <p>But I'm getting error code 500 (internal server error). But my server has all the information and API call is success. Can anyone please help me understand why it's entering the error block?</p>