This is an old revision of the document!
-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–request or -X: specify request methodcat file.json | curl --request POST https://httpbin.org/post --data-binary @-
curl --request POST https://httpbin.org/post -d X=1
curl --request POST https://httpbin.org/post -d 'file=@filename.txt'