【发布时间】:2015-08-25 22:24:54
【问题描述】:
我知道使用 cURL 我可以看到我收到的 cookie / headers 通过使用
curl --head www.google.com
而且我知道我可以使用
向我的请求添加标头curl --cookie "Key=Value" www.google.com
我目前正在测试一个需要持久 cookie 的问题,而且可能有很多。
如何有效地保留两个
cURL请求之间的 cookie?
如果可能,使用临时文件进行存储。
【问题讨论】: