I understand that I can clone a repo like so:
$ git clone https://x-token-auth:{access_token}@bitbucket.org/user/repo.git
Can I use the same request type to download a file ?
$ wget https://x-token-auth:{access_token}@bitbucket.org/user/myfile
When I try, I get :
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="Bitbucket.org HTTP"
Reusing existing connection to bitbucket.org:443.
HTTP request sent, awaiting response... 401 Unauthorized
Username/Password Authentication Failed.
Regards and thanks
Peter