gitlab 中 raw.githubusercontent 的对应物是什么?

What is counterpart of raw.githubusercontent in gitlab?

如何查看文件的未处理版本?我想将它用于 curl 安装脚本,但在 gitlab 中没有找到对应的东西。

gitlab中使用了以下架构:https://gitlab.com/<group>/<repository>/-/raw/<branch>/<file>

您可能必须使用 gitlab api,因为您的请求必须经过授权。