This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cli:curl [2021-05-31] – dcai | cli:curl [2021-05-31] (current) – dcai | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | ==== automatically find out where/how to resume the transfer ==== | ||
| + | < | ||
| ==== post body from pipe ==== | ==== post body from pipe ==== | ||
| < | < | ||
| cat file.json | curl --request POST https:// | cat file.json | curl --request POST https:// | ||
| + | </ | ||
| + | |||
| + | ==== post form data ==== | ||
| + | < | ||
| + | curl --request POST https:// | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== upload a file ==== | ||
| + | < | ||
| + | curl -X POST https:// | ||
| </ | </ | ||