【发布时间】:2019-03-12 00:51:15
【问题描述】:
It is said that this request mode is a special mode。它太特别了,以至于我找不到使用它的示例,并且下面的代码在控制台中引发了错误。
fetch("http://ytrezq.sdfeu.org/flashredirect/?https://github.com/git-receive-pack", {mode:"navigate"})
.then(function(response) {console.log(response);});;
【问题讨论】:
标签: javascript fetch-api