title: How to do POST with action key in Objective C using AFNnetworking
body: <p>I'm trying to do a POST with action parameter called "#load".</p>
  
  <p>To my webservice is a key need to show results: <strong>action:#load</strong></p>
  
  <p>How I can do this using AFNetworking framework? Here a sample of my wrong code:</p>
  
  <p>First the constant declaration:</p>
  
  <pre><code>const NSString *BASE_URL = @"http://www.mywebservice.com/request.php";
  </code></pre>
  
  <p>Now the code:</p>
  
  <pre><code>-(void)requisitarEventos{
    [smartEventos removeAllObjects];
  
    NSString* url = [BASE_URL stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
  
    AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
    [SVProgressHUD showWithStatus:@"Loading..." maskType:SVProgressHUDMaskTypeGradient];
  
    NSDictionary *parameters = [NSDictionary dictionaryWithObjectsAndKeys:@"#load",@"action", nil];
  
    [manager POST:url parameters:parameters
       success:^(AFHTTPRequestOperation *operation, id responseObject) {
  
           [self carregarEventos:responseObject];
           [SVProgressHUD dismiss];
       }
       failure:^(AFHTTPRequestOperation *operation, NSError *error) {
           NSLog(@"Error: %@", error);
           [SVProgressHUD dismiss];
       }];
   }
  </code></pre>