本文介绍了从SoundCloud API无效的JavaScript / JSONP响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我包括)中的反应。的SoundCloud搞砸了消毒的。这JSONP响应是在所有浏览器无效的。

There is an unallowed character (\u2028) in the response. SoundCloud messed up sanitizing that. This JSONP response is invalid in all browsers.

要解决它,你可以简单地直接获取JSON文件。的SoundCloud CORS设置似乎。

To work around it, you can simply fetch the JSON file directly. SoundCloud CORS setup seems to allow that.

这篇关于从SoundCloud API无效的JavaScript / JSONP响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-13 21:04