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上的第三方插件
相關文章
相關標籤/搜索