Azure Lake Store : missing Access-Control-Allow-Origin from response header

南笙酒味 提交于 2019-12-24 06:49:48

问题


When trying to call my azure data lake store space and list all directories , It fails to return any results during to missing CORS .The problem that I can't find any way to give the Azure DatalakeStore the CORS policy ( Not the same as Azure Storage )

Any workaround or solution for this ?


回答1:


Some of the services in Azure still doesn't have CORS support (like DocumentDB and as you have experienced seems for ADLS as well). One thing that can be tried before the same is provided by azure is to use APIM (Azure API Management Gateway). I tried this where i have on-boarded DocumentDB REST API's on APIM and used the end-point from APIM on client side and it worked. Check the links below for setting up APIM and enabling CORS

https://azure.microsoft.com/en-us/services/api-management/

https://msdn.microsoft.com/library/azure/7689d277-8abe-472a-a78c-e6d4bd43455d#CORS



来源:https://stackoverflow.com/questions/40693452/azure-lake-store-missing-access-control-allow-origin-from-response-header

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!