Reputation: 31
I want rename the gitlab project path. So I use the gitlab api PUT(projects/:id). but http error 405 method not allowed. I don't know that.
Thankyou
Upvotes: 3
Views: 1928
Reputation: 1450
In the projects/:id section, make sure you're replacing ':id' with the actual id that you want (e.g. projects/123).
It should end up generating a URI for the PUT that looks something like:
https://gitlab.mydomain.com/api/v3/projects/123?id=123&path=MyProject
Upvotes: 1