curl / wget チートシート(Ubuntu)
HTTPリクエストとファイル取得。
curl
curl https://example.com
curl -H "Content-Type: application/json" -d '{"name":"test"}' https://api.example.com/itemscurl -L -o file.zip https://example.com/file.zip
wget
wget https://example.com/file.tar.gz
wget -c https://example.com/large.iso