我在使用jasonp数据类型通过ajax访问此URL时收到此错误。 请帮助某人解决此问题
拒绝执行'https://script.google.com/macros/s/AKfycbw4SWi16wWTR622NUVlsFacqrCWz7KB8DaZ…020319074134340642_1499172512130&name=dfgdg&comment=dfgdfg&_=1499172512131' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
答案 0 :(得分:0)
$ curl <your link>
> moved permanently to <new link>
$ curl <new link>
> moved permanently to:
https://accounts.google.com/ServiceLogin?service=wise&passive=1209600&continue=https://script.google.com/macros/s/AKfycbw4SWi16wWTR622NUVlsFacqrCWz7KB8DaZ/&followup=https://script.google.com/macros/s/AKfycbw4SWi16wWTR622NUVlsFacqrCWz7KB8DaZ/
$ curl -I <final link>
> ...
> Content-Type: text/html; charset=UTF-8
> ...
因此脚本以html格式发送,您需要在服务器上更改它。