Closed wweggplant closed 2 months ago
这个需求是什么场景,能举个例子吗
比如我的场景是想使用gitlab的api, 需要再header中添加PRIVATE-TOKEN。https://docs.gitlab.com/api/rest/
curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/share/17"
比如我的场景是想使用gitlab的api, 需要再header中添加PRIVATE-TOKEN。https://docs.gitlab.com/api/rest/
curl --request DELETE --header "PRIVATE-TOKEN:
" "https://gitlab.example.com/api/v4/projects/5/share/17"
支持了,在配置文件中增加 header就可以了
比如我的场景是想使用gitlab的api, 需要再header中添加PRIVATE-TOKEN。https://docs.gitlab.com/api/rest/ curl --request DELETE --header "PRIVATE-TOKEN:
" "https://gitlab.example.com/api/v4/projects/5/share/17" 支持了,在配置文件中增加 header就可以了
还有个问题,就是现在还没有DNS解析,只支持IP:PORT 方式,这两天会增加域名支持
比如我的场景是想使用gitlab的api, 需要再header中添加PRIVATE-TOKEN。https://docs.gitlab.com/api/rest/
curl --request DELETE --header "PRIVATE-TOKEN:
" "https://gitlab.example.com/api/v4/projects/5/share/17"
可以了,用最新版的配置文件
需要添加api-key, 这个还挺常见的需求