Skip to content

curl

cookies

  • store cookies: curl -c cookies.txt http://example.com/login
  • use stored cookies: curl -b cookies.txt http://example.com/protected/resource