Last active
May 5, 2022 13:55
-
-
Save samgooi4189/2b724062c8fec96eb3706bd7e59698bc to your computer and use it in GitHub Desktop.
wget file from private repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bitbucket does not send challenge https://developer.atlassian.com/server/bitbucket/how-tos/example-basic-authentication/#supplying-basic-auth-headers | |
$ wget --http-user="samgooi4189" --http-password="MpBrJa9dC3vkWgmTcjLF" --auth-no-challenge "https://api.bitbucket.org/2.0/repositories/samgooi4189/bitbucket-download-test/src/master/README.md" | |
--2020-09-02 22:21:57-- https://api.bitbucket.org/2.0/repositories/samgooi4189/bitbucket-download-test/src/master/README.md | |
Resolving api.bitbucket.org (api.bitbucket.org)... 18.205.93.6, 18.205.93.7, 18.205.93.8, ... | |
Connecting to api.bitbucket.org (api.bitbucket.org)|18.205.93.6|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 2622 (2.6K) [text/plain] | |
Saving to: ‘README.md’ | |
README.md 100%[=======================================================================>] 2.56K --.-KB/s in 0s | |
2020-09-02 22:21:59 (151 MB/s) - ‘README.md’ saved [2622/2622] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment