http - 在 URL 中包含标题
问题描述
我有一个允许下载文件的网址,例如:
https://mysystem.department.company/u/userid/projectid/raw/fileid/filename.csv?inline=false
由于我公司的各种异常,我需要将以下标头字段直接添加到 url 中(因为 PowerBI 服务器无法识别在 Web 连接中本地添加的标头)。
有什么方法可以将标头 'X-API-KEY'= 'XXX123' 直接添加到 URL 中?我试过 https://mysystem.department.company/u/userid/projectid/raw/fileid/filename.csv?inline=false&X-API-KEY=XXX123没有成功。
干杯
解决方案
不,URL 和请求标头字段是分开的。
推荐阅读
- r - 如何在我的数据集中分别过滤男性和女性(使用 r)?
- python - 无法在 Mac 上使用 pd.read_csv 导入本地文件
- php - 按其唯一值对爆炸数据进行分组
- javascript - Squarespace 背景中的粒子?
- premake - Premake 可以打包项目吗?
- android - Firebase 检索所有子值并显示
- c# - Azure IotHub 模块的双属性更改检测
- c# - EF Core 2.1 视图分组依据
- node.js - 现有数据库中的 Mongoose 节点 API 未返回结果且未显示错误
- amazon-web-services - 是否可以在 CloudFormation 模板中执行命令然后更新安全组?