Skip to content

Plainwire 0.9.0: cookies and session logins

Choose a tag to compare

@janwan2003 janwan2003 released this 20 Nov 15:37
· 20 commits to main since this release
  • Cookie jar: cookies a response sets are kept and sent with later requests to the same site, like a browser, so a login that sets a session cookie works for the requests after it. Cookies set on a redirect hop are stored before the redirect is followed (login → 302 → dashboard works). RFC 6265 domain/path/Secure/expiry rules; your own Cookie: header wins by name. In 0.8.0 no cookie was carried between requests.
  • Per workspace, saved across reloads. Plainwire: Manage Cookies… / Clear Cookies; setting plainwire.rememberCookies; # @no-cookie-jar per request (same spelling as REST Client and JetBrains).
  • Response view Cookies tab; # @assert cookie sessionid exists.
  • CLI: one jar per plainwire run, --no-cookie-jar to turn it off. Checked against httpbin.org's cookie endpoints: 5/5 with the jar, 3 passed / 2 failed without.

Guide: https://janwan2003.github.io/vscode-api-client/cookies-session-login-http-file.html

Install: download plainwire-0.9.0.vsix and run Extensions: Install from VSIX… (VS Code, Cursor, Windsurf, VSCodium). CLI: plainwire.mjs (Node 18+) or npm install -g the tarball. Action: uses: janwan2003/vscode-api-client@v0.9.0.