Azure的机器学习 - CORS
我搜索过这个小时无法找到回答问题的一件事。我已经创建并发布了新的Azure机器学习服务,并且已经创建了一个终点。我可以调用使用REST邮差客户端服务,但通过JavaScript的网页访问它返回一个控制台日志说,CORS是服务功能。现在,我的生活,我无法弄清楚如何禁用Azure的机器学习服务CORS。任何帮助将大大pciated AP $ P $,谢谢!
I've searched for hours for this and can't find a single thing that answers the question. I've created and published a new Azure Machine Learning service, and have created an endpoint. I can call the service using the Postman REST CLient, but accessing it via a JavaScript webpage returns a console log saying that CORS is enabled for the service. Now, for the life of me, I can't figure out how to disable CORS for Azure Machine Learning services. Any help would be much appreciated, thanks!
目前,我们不支持在API端禁用CORS,但您可以使用上面的选项,或者您可以使用API管理服务禁用CORS。下面的链接来帮助你完成这个
Currently, we don't support disabling CORS on API side but you can either use the above option or you can use the API management service to disable CORS. The links below should help you with this
API管理服务允许使其在API配置页面CORS
API Management service allow CORS by enabling it in the API configuration page