IFTTT Access-Control-Allow-Origin

时间:2018-04-29 19:12:28

标签: jquery ajax post webhooks ifttt

我正在尝试为IFTTT webhook服务创建'POST'请求。
使用:

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'
});
}

响应:

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.

我的要求怎么了?

0 个答案:

没有答案