curl
curl -iv --raw -H "Accept-Encoding: gzip deflate" \
-H "User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0" \
-H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
-H "Referer: https://www.baidu.com" \
https://www.baidu.com -o baidu.raw
curl -iv --raw -H "Accept-Encoding: gzip deflate" http://127.0.0.1:10240/gm/ShowConfig/CookbookConfig -o CookbookConfig.raw