在Angular中获取Azure搜索(建议)API的CORS错误(http:// localhost:4200)。 [英] Getting CORS Error for Azure Search (Suggest) API In Angular ( http://localhost:4200).
本文介绍了在Angular中获取Azure搜索(建议)API的CORS错误(http:// localhost:4200)。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 Azure搜索(建议)API 此API在
POSTMAN ,但就 Angular
(http:// localhost:4200)提供 CORS错误 请帮助我 如何使Azure搜索API应该允许来自所有来源。
I am using Azure Search (Suggest) API this API is working fine in POSTMAN but when it comes to Angular (http://localhost:4200) It is giving the CORS error please help me how to make Azure search api should allow from all the origins.
谢谢
Prashanth G Hiremath
Prashanth G Hiremath
推荐答案
Hi Prashanth,
Hi Prashanth,
这篇关于在Angular中获取Azure搜索(建议)API的CORS错误(http:// localhost:4200)。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文