Yanor.net/
Wiki
Blog
GitHub
Sandbox
開始行:
* curlコマンド [#z28c8a05]
** POSTリクエスト [#fa25e659]
curl --data 'name=taro&age=12' http://localhost:8001/
curl -F 'name=yamada taro' -F 'age=12' http://localhost:...
↓
<form method="post" action="http://localhost:8001/">
<input type="hidden" name="name" value="yamada taro">
<input type="hidden" name="age" value="12">
<input type="submit">
</form>
** ファイル送信リクエスト [#a91a9a4d]
curl -F mycsv1=@C:/tmp/foo.csv http://example.com/index....
** 参考:Downloading file from FTP using cURL [#p93468c0]
http://superuser.com/questions/265062/downloading-file-fr...
** 参考:ローカルにサーバを起動する [#kad6170b]
nc -l localhost 8001
終了行:
* curlコマンド [#z28c8a05]
** POSTリクエスト [#fa25e659]
curl --data 'name=taro&age=12' http://localhost:8001/
curl -F 'name=yamada taro' -F 'age=12' http://localhost:...
↓
<form method="post" action="http://localhost:8001/">
<input type="hidden" name="name" value="yamada taro">
<input type="hidden" name="age" value="12">
<input type="submit">
</form>
** ファイル送信リクエスト [#a91a9a4d]
curl -F mycsv1=@C:/tmp/foo.csv http://example.com/index....
** 参考:Downloading file from FTP using cURL [#p93468c0]
http://superuser.com/questions/265062/downloading-file-fr...
** 参考:ローカルにサーバを起動する [#kad6170b]
nc -l localhost 8001
ページ名: