-1
I have a xml file. how can i use the xml file and access the cross domain request in angularjs $http request.
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
/* cross-domain contents goes here */
</cross-domain-poliy>
如何在我的項目中使用此xml文件並使跨域訪問權限爲true。如何在我的項目中使用跨域xml文件
這隻適用於GET請求。更好的解決方案是使用CORS。 –