curl

Transfers data from or to a server. Supports most protocols,…

curl

Transfers data from or to a server. Supports most protocols, including HTTP, FTP, and POP3.

curl {{http://example.com}} -o {{filename}}

curl -O {{http://example.com/filename}}

curl -O -L -C - {{http://example.com/filename}}

curl -d {{'name=bob'}} {{http://example.com/form}}

curl -H {{'X-My-Header: 123'}} -X {{PUT}} {{http://example.com}}

curl -d {{'{"name":"bob"}'}} -H {{'Content-Type: application/json'}} {{http://example.com/users/1234}}

curl -u myusername:mypassword {{http://example.com}}

curl --cert {{client.pem}} --key {{key.pem}} --insecure {{https://example.com}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← cupsd cut →