title: Doing POST with AJAX with Sendy API
body: <p>I am implementing <a href="http://sendy.co" rel="nofollow noreferrer">http://sendy.co</a> and <a href="https://github.com/scosman/betakit" rel="nofollow noreferrer">Betakit</a> and pretty much stuck trying to do POST via AJAX with some values to pass on.</p>
  
  <p>According to <a href="http://sendy.co/api" rel="nofollow noreferrer">Sendy API</a> here I should be able to subscribe but I am struggling on getting it to work with AJAX. With this code below that I tried it becomes GET when I submit/click:</p>
  
  <p><code>
  $.ajax({
      type: "POST",
      url:"http://example.com/subscribe",
      dataType: "jsonp",
      data: {email: email,
             list: 'Pasdsadasdasdada'},
    });
  };
  </code>
  <img src="https://i.stack.imgur.com/FFymd.jpg" alt="GET instead of POST"></p>
  
  <p>How do I make it to POST instead of GET? </p>