Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共5 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:请求头添加数据

1楼
zhenghangbo 发表于:2025/3/14 11:23:00
接口说明如下
curl --request POST \
--url http://{address}/api/v1/agents/{agent_id}/sessions \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--data '{
"lang":"Japanese",
"file":"Who are you"
}' 怎么在请求头里面添加header 'Authorization: Bearer <YOUR_API_KEY>' \这个,用foxtable要怎么写?
2楼
有点蓝 发表于:2025/3/14 11:37:00
http://www.foxtable.com/mobilehelp/topics/3279.htm
3楼
zhenghangbo 发表于:2025/3/14 11:53:00
这个Authorization是类似Content-Type的,键是Bearer ,值是<YOUR_API_KEY>。应该不能用htc.Headers.Add
4楼
有点蓝 发表于:2025/3/14 13:33:00
肯定是在Headers.Add里
5楼
zhenghangbo 发表于:2025/3/14 14:01:00
ok
共5 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .01758 s, 2 queries.