Replies: 1 comment
-
| 找到了可以通过自定义上传到 gitlab 的方式,但是只能上传到 uploads(或许这种方式更加安全,没有人可以访问到所有文件,因为根本就看不到文件列表),作为仓库文件还不行,转换不了 base64 编码,可以参考下: API地址:https://gitlab.example.com/api/v4/projects/<project_id>/uploads
请求方式:POST
文件字段名:file
  其他字段:
    Headers 数据:
      PRIVATE-TOKEN: <project_access_token>
      Content_Type: multipart/form-data
URL路径:["full_path"]
域名:https://gitlab.example.com
保存路径:<留空> | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
会支持 gitlab 和 jihulab 吗,国内访问友好一点
Beta Was this translation helpful? Give feedback.
All reactions