title: AFNetworking 2.0 Send Post Request with URL Parameters
body: <p>How do I send a <code>POST</code> request with <code>AFNetworking</code> 2.0 with all the parameters in the URL like such:</p>
  
  <p><a href="http://www.myserver.com?api_key=something&amp;lat=2.4&amp;radius=100">http://www.myserver.com?api_key=something&amp;lat=2.4&amp;radius=100</a></p>
  
  <p>Right now I have:</p>
  
  <pre><code>NSString* query = @"http://example.com?name=param&amp;date=param";
  AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
  NSDictionary *parameters = @{};
  [manager POST:query parameters:parameters success:^(AFHTTPRequestOperation *operation, id responseObject) {
      NSLog(@"JSON: %@", responseObject);
  } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
      NSLog(@"Error: %@", error);
  }];
  </code></pre>
  
  <p>But it's not working, I get this error back: </p>
  
  <p><code>Error Domain=AFNetworkingErrorDomain Code=-1011 "Request failed: bad request (400)</code></p>