DJANGO的API跨域实现

Ajax跨域请求报错:XMLHttpRequest cannot load ''. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' ' is therefore not allowed access. 这种错误如何解决? 一种是JSONP。 一种是DJANGO上的第三方插件
相关文章
相关标签/搜索