title: Codeigniter REST API post not working
body: <pre><code>require APPPATH.'libraries/REST_Controller.php';
  
  class Test extends REST_Controller {
  
  function ajax_all_webinars_get() {
      $this-&gt;response(array("success"=&gt;"get"), 200);
  }
  
  function list_post() {
      $this-&gt;response(array("success"=&gt;"post"), 200);
  }
  }
  </code></pre>
  
  <p>In the browser I can make a call to ajax_all_webinars via a javascript ajax call to retrieve all the webinars and get a 200 OK.</p>
  
  <p>However when I even try to post to the post function I get a 404.</p>
  
  <p>can anyone help please.</p>
  
  <p>call to the service </p>
  
  <pre><code>$.ajax({
  type: "post",
  url: "http://corss-domain-server/test/list/",
  crossDomain: true,
  data: postData,
  //dataType: "json",
  success: function(responseData, textStatus, jqXHR) {
      console.log(responseData)
  },
  error: function(jqXHR, textStatus, errorThrown) {
      console.log(jqXHR);
  }
  })
  </code></pre>