title: Black Hole Requests for Curl Post from Seperate server CakePHP
body: <p>Im trying to create a URL location where another service can send json POST data with the cURL library. Im getting 400 apache errors and Getting:</p>
  
  <pre><code>**Security Error**
  The requested address was not found on this server.
  
   Request blackholed due to "auth" violation.
  </code></pre>
  
  <p>In the CakePHP app have tried disabling the security component and setting the correct route in the router but that does not seem to help.</p>
  
  <p>Here is my controller action, my model beforeFind and the route:</p>
  
  <pre><code>public function hello() {
      $data = $this-&gt;request-&gt;data;
      CakeLog::write('helloSignResponse', $data);
      if ($data) {
          $this-&gt;Security-&gt;validatePost = false;
          CakeLog::write('helloSignResponse', $data);
          if ($this-&gt;request-&gt;data['signature_request']['is_complete'] == true) {
              $signature = $this-&gt;request-&gt;data['signature_request']["signature_request_id"];
              $agent = $this-&gt;Agent-&gt;findBySignature('first', array('conditions' =&gt; $data['id'], 'feilds' =&gt; array('id')));
              $this-&gt;Agent-&gt;id = $agent['Agent']['id'];
              $this-&gt;User-&gt;id = $data['Agent']['user_id'];
              if (!( $this-&gt;Agent-&gt;saveFeild('status', 1) &amp;&amp; $this-&gt;User-&gt;saveFeild('status', 1))) {
                  CakeLog::write('helloSign', 'Did Not update the user status and agent status');
              }
          }
          return 'Hello API Event Received.';
      }
  }
  
  //Model
  
  public function beforeFilter() {
      $this-&gt;Security-&gt;unlockedActions = array('hello');
      if ($this-&gt;action == 'hello') {
          $this-&gt;Security-&gt;csrfCheck = false;
          $this-&gt;Security-&gt;validatePost = false;
      }
  }
  
  //route
   Router::connect('/hello', array('plugin' =&gt; 'PhoneKarma', 'controller' =&gt; 'Agents', 'action' =&gt; 'hello'));
  </code></pre>
  
  <p>What else am I supposed to do in  CakePHP to prevent this or accept POST data from a different server?</p>