Answers
cUrl 这个强大的工具啊。直接在终端中使用
curl -i www.example.com 查看请求的头信息
curl --cookie "name=value" www.example.com 就可以带上cookie了啊
推荐阅读下苹果官方文档
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/curl.1.html
cUrl 这个强大的工具啊。直接在终端中使用
curl -i www.example.com 查看请求的头信息
curl --cookie "name=value" www.example.com 就可以带上cookie了啊
推荐阅读下苹果官方文档
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/curl.1.html