最終更新:2011-10-20 (木) 01:53:26 (4572d)
cURL
Top / cURL
cURL は、ファイル転送用のプロトコルをいくつもサポートする (HTTP、FTP、SCP (Secure Copy)、Telnet など) コマンドライン・ツールです。
cURL を使用すると、コマンドラインからインターネットを介してエンドポイントとやりとりすることができるだけではなく、アプリケーション層のプロトコル・タスクを自動化するためのプログラムを、簡単なプログラムから複雑なプログラムまで、libcurl を使用して作成することができます。
例
# curl example.com <HTML> <HEAD> <TITLE>Example Web Page</TITLE> </HEAD> <body> <p>You have reached this web page by typing "example.com", "example.net", or "example.org" into your web browser.</p> <p>These domain names are reserved for use in documentation and are not available for registration. See <a href="http://www.rfc-editor.org/rfc/rfc2606.txt">RFC 2606</a>, Section 3.</p> </BODY> </HTML>