【问题标题】:gitlab API PUT(projects/:id) 405 Method Not Allowedgitlab API PUT(projects/:id) 405 Method Not Allowed
【发布时间】:2015-07-29 09:51:16
【问题描述】:

我想重命名 gitlab 项目路径。 所以我使用 gitlab api PUT(projects/:id)。 但不允许使用 http 错误 405 方法。 我不知道。

谢谢

【问题讨论】:

    标签: gitlab http-status-code-405


    【解决方案1】:

    在 projects/:id 部分,确保将 ':id' 替换为您想要的实际 id(例如 projects/123)。

    它最终应该为 PUT 生成一个类似于以下内容的 URI:

    https://gitlab.mydomain.com/api/v3/projects/123?id=123&path=MyProject

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-06-29
      • 2013-10-10
      • 2014-09-03
      • 2014-04-09
      • 2011-11-17
      • 2016-04-12
      • 2017-06-07
      • 1970-01-01
      相关资源
      最近更新 更多