I'm trying to create a 'POST'
request to the IFTTT webhook service.
Using:
function deleteRow(ID){
$.ajax({
type: 'POST',
url: 'https://maker.ifttt.com/trigger/delete_row/with/key/{key}',
data: '{"value":"'+ID+'"}',
contentType: "application/json",
dataType: 'json'
});
}
Response:
Failed to load https://maker.ifttt.com/trigger/delete_row/with/key/{key}: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '{mysite}' is therefore not allowed access.
Whats wrong with my request?