Sample post request with Sinatra and AJAX