当前位置:网站首页>Request header field XXXX is not allowed by access control allow headers in preflight response
Request header field XXXX is not allowed by access control allow headers in preflight response
2022-06-10 18:50:00 【Hu Anmin】
Error message
This is because the target service does not allow adding... To the request header x-run-as This
terms of settlement
The first one is , The front-end request will send the request header x-run-as Take this out
The second kind , In the backend cross domain configuration Access-Control-Allow-Headers Add this to the request header key
// add x-run-as, Out of commission * Otherwise, it will be treated as an ordinary string
response.setHeader("Access-Control-Allow-Headers", "Content-Type,Access-Token,x-run-as");


边栏推荐
- [kuangbin]专题二十二 区间DP
- VMware horizon 82111 deployment series (XVI) blast bandwidth test
- Adobe Premiere基础-时间重映射(十)
- Adobe Premiere基础-不透明度(混合模式)(十二)
- VMware ESXi 各版本号对照表
- 当前有哪些主流的全光技术方案?-下篇
- ADS,AXD基本使用说明
- 期货网上开户安全吗,具体怎么开户的
- 跨域报错:When allowCredentials is true, allowedOrigins cannot contain the special value “*“
- 【接口教程】EasyCVR如何通过接口设置平台级联?
猜你喜欢

Adobe Premiere基础-导入导出,合并素材,源文件编译,脱机(二)

元数据管理,数字化时代企业的基础建设

In the introductory study of data visualization, we should be alert to pitfalls and misunderstandings and grasp key nodes

Uniapp native JS to convert the Gregorian calendar to the lunar calendar

Stream流的常用方法-Lambder

How to transform digital transformation? Which way?

Adobe Premiere基础-介绍,配置,快捷键,创建项目,创建序列(一)

Wechat applet, get the current page and judge whether the current page is a tabbar page

基础提升---树形DP补充

In the era of data processing, data analysis has become the basic construction
随机推荐
AGI基础,不确定性推理,主观逻辑一书ppt2
The value of Business Intelligence BI. Is visual report equal to Business Intelligence BI?
Db2 SQL PL中的控制语句
Adobe Premiere基础-素材嵌套(制作抖音结尾头像动画)(九)
Db2 SQL PL的动态SQL
干货 | 一文搞定 uiautomator2 自动化测试工具使用
如何正确理解商业智能BI的实时性?
连续六年稳居中国SDN(软件)市场份额第一
数字化转型怎样转?朝哪转?
Metadata management, the basic construction of enterprises in the digital era
智慧城市网络安全建设框架及实践
基于智慧路灯杆打造智慧社区物联网
【QNX Hypervisor 2.2 用户手册】3.2.1 VM配置语法
vim常用快捷键
Screen output of DB2 stored procedure, output parameters, and return result set
[代码]神经符号生成机器
ETL的使用过程中遇到的坑(ETL中文乱码)
leecode27,977-双指针法
实时商业智能BI(二):合理的ETL架构设计实现准实时商业智能BI
Adobe Premiere基础特效(卡点和转场)(四)