title: Slim + ajax call "GET"
body: <p>im so sorry for my bad english.</p>
  
  <p>I have some problems with slim + ajax</p>
  
  <p>this is my controller</p>
  
  <pre><code>$app-&gt;get('/creazioni(/:lim(/:page))', function($lim = 0, $page = 5) use($app){
  </code></pre>
  
  <p>and this is my ajax code</p>
  
  <pre><code>$.ajax({ //lancio la chiamata principale
  type : "GET",
  data : "lim=" + lim + "&amp;page=" + pag,
  url : 'http://www.urltest.it/creazioni/',
  success : function(data) {
      $('#stampa').empty();
      $('#stampa').html(data);
  }
  </code></pre>
  
  <p>console error return a 404 or 509 if i remove / from url:'<a href="http://www.urltest.it/creazioni/" rel="nofollow">http://www.urltest.it/creazioni/</a>
  it's around 3 days that u try to solve this problem.
  i making a pagination bu actualy not work xD</p>
  
  <p>Thanks for answer and another time sorry for my english</p>