I am using /2.0/repositories/{workspace}/{repo_slug}/src for upload a file on my bitbucket, but i need execute in specific branch not only master branch. How pass Query parameter branch in http request post multipart/form-data ?
Hello @alex carreño ,
There's a branch parameter (see the documentation for this endpoint), so something like this shoukd work:
curl ... --data-urlencode "branch=foo-bar"
Hope this helps. Let me know if you have any questions.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.