-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
Description
$.ajax({
url: "https://documentup.com/compiled",
dataType: "jsonp",
data: {
content: "# test",
name: "Test JSONP!"
},
success: function(resp){
// `status` is always provided
if (resp.status == 200) {
// Write to your document
document.open();
document.write(resp.html);
document.close();
}
}
});This actually generates a 404, for some odd reason. Not sure why, as this is a documented API in the README.