Gitlab API PUT (projects /: id) 405 Method not allowed

I want to rename the gitlab project path. So I am using gitlab api PUT (projects /: id). but HTTP 405 error method is not allowed. I do not know that.

Thankyou

+3
gitlab http-status-code-405


source to share


1 answer


In the project /: id section make sure you replace ': id' with the actual id you want (e.g. projects / 123).

As a result, it should create a URI for the PUT that looks something like this:



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

+1


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics