difficult question

I am searching for a answer to create a vcs root with the rest api.

I have tried many thing but I can't get the solution of that problem.
The Rest Api page only telling me this:
Create a new VCS root: POST VCS rot XML (the one like retrieved for a GET request for VCS root details) to http://teamcity:8111/httpAuth/app/rest/vcs-roots

but when I send this Request the Server giving me an error 400 that called when the element not the right one.


Marcus Priwall

PS: the Server version is 8.1

1 comment
Comment actions Permalink

Hello Marcus,

can you please send more details, how do you upload the file/send the request to the server?



Please sign in to leave a comment.