-X, --request <command>
(HTTP) Specifies a custom request method to use when communicating with the HTTP server. The
specified request will be used instead of the method otherwise used (which defaults to GET). Read
the HTTP 1.1 specification for details and explanations. Common additional HTTP requests include
PUT and DELETE, but related technologies like WebDAV offers PROPFIND, COPY, MOVE and more.
(FTP) Specifies a custom FTP command to use instead of LIST when doing file lists with FTP.
If this option is used several times, the last one will be used.
|
-d, --data <data>
(HTTP) Sends the specified data in a POST request to the HTTP server, in the same way that a
browser does when a user has filled in an HTML form and presses the submit button. This will cause
curl to pass the data to the server using the content-type application/x-www-form-urlencoded.
Compare to -F, --form.
|