Comment on $ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txtparentComments−nmat10yThe pipe is into curl, has nothing to do with the website itself−hk__210yThe website must support the feature. With `--upload-file` curl sends the `Content-Length` header; with the pipe it doesn’t.
Comments
The pipe is into curl, has nothing to do with the website itself
The website must support the feature. With `--upload-file` curl sends the `Content-Length` header; with the pipe it doesn’t.