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
It looks like you're new here. Sign in or register to get started.