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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.