| Argument | Type | Description |
|---|
| url | string | |
| output | enum (none | file | user | user-with-headers) | where to output data, works for all protocols |
| http-method | enum (get | post | put | delete | head | patch) | |
| http-auth-scheme | enum (basic | digest) | |
| http-data | string | POST or PUT request body data |
| multi { array-id, string
} | add http header fields |
| check-certificate | enum (no | yes | yes-without-crl) | https certificate validation |
| certificate | enum | |
| address | alt { address (flags=46vi)
, ipAddr
} | |
| src-address | alt { ipAddr
, ip6Addr
} | source address for HTTP, HTTPS only |
| port | num | |
| mode | enum (http | https | ftp | tftp | sftp) | |
| http-content-encoding | enum (deflate | gzip) | encode payload and add corresponding Content-Encoding header; for HTTP POST and PUT only |
| ip-type | enum (any | ipv4 | ipv6) | |
| src-path | file | |
| dst-path | file | |
| user | string | |
| password | string | |
| host | string | |
| ascii | bool | ftp transfer type |
| upload | bool | ftp and tftp transfer direction |
| keep-result | bool | depracated, use 'output' argument |
| idle-timeout | alt { time [1 .. 604800]
, enum (none) { none:0 }
} | seconds, default 10 |
| http-max-redirect-count | num | default 0, i.e. no redirects |
| http-percent-encoding | bool | percent-encodes every character in path except for alphanumeric and the following characters: -._~/?^=: |
| http-version | enum (http1_1 | http2) | |