title: jQuery POST to Sinatra API Same Origin Policy?
body: <p>I have developed an application using Sinatra for the API and jQuery/HTML5/Phonegap for the client side.</p>
  
  <p>I have problems testing my application from a simple HTML5 that basically POSTs a request to my Sinatra API using JSON data. </p>
  
  <p>I heard about JSONP but don't think is going to solve my problem since I use POST and not GET.</p>
  
  <p>Are there any other solutions that I should be looking for?</p>