I am working with cURL which is integrated into an xBase program.
And the curl command line by me includes the option -T to download a local file to a CalDAV calendar. I tried to find it in HTTPie, but I did not find an equivalent command. Does HTTPie have such an option as -T in cURL?
From cURL's manual:
It seems you are looking for the upload functionality. In HTTPie, depending on what the host server is expecting, you have multiple ways to upload a file:
A) Redirected input:
B) Request data from a filename (automatically sets the
Content-Typeheader):C) Form file upload:
Original answer by Jakub Roztocil.