Repository navigation
Plainwire 0.9.0: cookies and session logins
- 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-jarper request (same spelling as REST Client and JetBrains). - Response view Cookies tab;
# @assert cookie sessionid exists. - CLI: one jar per
plainwire run,--no-cookie-jarto 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.