Site Tools


This is an old revision of the document!


curl

  • -O: save the file with remote filename
  • -o: save the file as the name provided
  • -L: follow 3xx redirect
  • -# or –progress-bar: show download progress

post body from pipe

cat file.json | curl --request POST https://httpbin.org/post --data-binary @-
cli/curl.1622420990.txt.gz · Last modified: by dcai