Posts linux curl read write cookies
Post
Cancel

linux curl read write cookies

  • Save cookies from website to a file
1
$ curl -c cookie-jar.txt https://test_website.com/;
  • Read cookies from file and send to website
1
$ curl -b cookie-jar.txt https://test_website.com/index
This post is licensed under CC BY 4.0 by the author.