💾 Archived View for freeshell.de › tldr › curl.gmi captured on 2022-06-11 at 21:35:58. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Transfers data from or to a server.
Supports most protocols, including HTTP, FTP, and POP3.
curl {http://example.com} --output {filename}
curl --remote-name {http://example.com/filename}
curl --fail --remote-name --location --continue-at - {http://example.com/filename}
curl --data {'name=bob'} {http://example.com/form}
curl --header {'X-My-Header: 123'} --request {PUT} {http://example.com}
curl --data {'{"name":"bob"}'} --header {'Content-Type: application/json'} {http://example.com/users/1234}
curl --user myusername:mypassword {http://example.com}
curl --cert {client.pem} --key {key.pem} --insecure {https://example.com}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).