title: AFNetworking Error: "Expected status code in (200-299), got 404"
body: <p>My code:</p>
  
  <pre><code>NSURL *url = [NSURL URLWithString:@"http:testurl.com"];
  AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:url];
  
  NSString *email = @"test@test.com";
  NSString *password = @"test";
  
  NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:
                          email, @"email",
                          password, @"password",
                          nil];
  
  [httpClient postPath:@"/myobject" parameters:params success:^(AFHTTPRequestOperation *operation, id responseObject) {
      NSString *responseStr = [[NSString alloc] initWithData:responseObject encoding:AFJSONParameterEncoding];
      NSLog(@"Request Successful, response '%@'", responseStr);
  } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
      NSLog(@"[HTTPClient Error]: %@", error.localizedDescription);
  }];
  </code></pre>
  
  <p>Even though I know the server is expected a POST I tried GET and PUT too and still received the same error. I also have checked the URL 100 times. Any ideas on what's causing the error?</p>
  
  <p>Thanks!!</p>