基本上一字不差地遵循code example,但尝试使用fetch发出POST请求
fetch('YOUR URL HERE', { method: 'POST', 'body': content })
.then(function (res) {
console.log(res.text());
return res.text();
})
.then(function (plain) {
var output = { okay: true, raw: plain };
callback(null, output);
})
.catch(callback);
在愤怒的红色框中显示:
我们在发送您的测试通过时遇到了问题。请再试一次。错误:错误:正文已用于:https://YOURURLHERE
不知道这是什么意思?
https://stackoverflow.com/questions/50732616
复制相似问题