프로토콜 디버깅
GET
POST
파일 업로드
User Agent
HTTP Header dump
참고
- http://curl.haxx.se/docs/httpscripting.html
1# curl --trace-ascii debug.dump http://www.test.co.kr/testpage
12# curl http://www.joinc.co.kr# curl http://www.joinc.co.kr?action=del&id=12345
12# curl -d "name=yundream&age=19&address=Seoul ... ..." http://www.joinc.co.kr/curltest.php# curl -X POST http://192.168.57.3:5984/mywiki/ -d @curl.json -H "Content-Type: application/json"
1# curl -F upload=@dump.tar.gz -F "username=yundream" http://www.joinc.co.kr/curltest.php
1# curl --user-agent "Mozilla/4.73 [en] (X11; U; Linux 2.2.15 i686)" http://www.joinc.co.kr
1234567891011# curl -D header.txt http://www.joinc.co.kr# cat header.txtHTTP/1.1 200 OKDate: Thu, 04 Jul 2013 01:54:40 GMTServer: Apache/2.2.14 (Ubuntu)Last-Modified: Fri, 22 Jun 2012 06:58:22 GMTETag: "c43e-76-4c30a286a7f80"Accept-Ranges: bytesContent-Length: 118Vary: Accept-EncodingContent-Type: text/html