how to perform HTTPS calls to Tiggzi database rest service?
Hmm I just tried this to do that based on this tutorial here: http://stackoverflow.com/questions/32...
function testRest()
{
$.ajax({
url: "https://api.tiggzi.com/rest/1/db/coll...",
type: 'POST',
dataType: 'json',
success: function() { alert('success'); },
error: function() { alert('error'); },
beforeSend: function setHeader(xhr) {
xhr.setRequestHeader('X-Tiggzi-Database-Id', 'xxxxxxxxxxxxxxxxxxx');
xhr.setRequestHeader('contentType', 'application/json');
}
});
}
I am getting error 500: {"code":"request","description":"database id not specified"}