Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl http://api.somesite.com/test/blah?something=123
- curl -u username http://example.com
- curl -u username:password http://example.com
- curl --netrc-file my-password-file http://example.com
- machine host.domain.com login myself password secret
- curl -u USERNAME http://server.example
- curl http://username:password@api.somesite.com/test/blah?something=123
- curl -Lk -XGET -u "${API_USER}:${API_HASH}" -b cookies.txt -c cookies.txt -- "http://api.somesite.com/test/blah?something=123"
- curl -u user:$(cat .password-file) http://example-domain.tld
- server=server.example.com
- file=path/to/my/file
- user=my_user_name
- pass=$(gkeyring.py -k login -tnetwork -p user=$user,server=$server -1)
- curl -u $user:$pass ftps://$server/$file -O
- curl -u user-name -p http://www.example.com/path-to-file/file-name.ext > new-file-name.ext
- curl --url url -K- <<< "--user user:password"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement