zoukankan      html  css  js  c++  java
  • Cookies with curl the command line tool

    w

     

    https://curl.haxx.se/docs/http-cookies.html

    curl has a full cookie "engine" built in. If you just activate it, you can have curl receive and send cookies exactly as mandated in the specs.

    Command line options:

    -b, --cookie

    tell curl a file to read cookies from and start the cookie engine, or if it isn't a file it will pass on the given string. -b name=var works and so does -b cookiefile.

    -j, --junk-session-cookies

    when used in combination with -b, it will skip all "session cookies" on load so as to appear to start a new cookie session.

    -c, --cookie-jar

    tell curl to start the cookie engine and write cookies to the given file after the request(s)

  • 相关阅读:
    smbmnt
    smbd
    smbcontrol
    smbclient
    smb.conf
    sleep
    size
    oracle-rman-1
    cURL 学习笔记与总结(5)用 cURL 访问 HTTPS 资源
    Java实现 LeetCode 90 子集 II(二)
  • 原文地址:https://www.cnblogs.com/rsapaper/p/6723896.html
Copyright © 2011-2022 走看看