我正在尝试为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.
我的要求怎么了?