Angular 问题与 CORS 有关。我注意到 Chrome 控制台中还有另一个错误:

问题描述 投票:0回答:0

从来源“http://localhost:55374”访问“https://fa-epvg-test-saasfaprod1.fa.ocs.oraclecloud.com/xmlpserver/services/v2/ReportService?wsdl”处的 XMLHttpRequest 已被阻止按 CORS 策略:对预检请求的响应未通过访问控制检查:请求的资源上不存在“Access-Control-Allow-Origin”标头。如何修复 angualr 上的这个错误

请帮我解决这个错误

angular api soapui
© www.soinside.com 2019 - 2024. All rights reserved.