What's New
- Resterm now exposes headless API which makes it possible to create custom headless runners. If you want to run resterm in your CI/CD - check out
https://github.com/unkn0wn-root/resterm-runner - Per-environment cookie jars - Cookies are now isolated per environment instead of being shared globally. Each environment (e.g.,
dev, staging, prod) maintains its own cookie jar, so switching environments no longer leaks session cookies across them. Cookies still persist across requests within the same environment. Thanks to @aksdb - Disable cookies per request - A new no-cookies setting lets you opt out of automatic cookie handling for individual requests using
@settingor@apply- @aksdb - Clear cookies -
Ctrl+Shift+G(org + Shift+G) now clears both global variables and cookies for the active environment - @aksdb
Simple example of new cookie handling. Cookies work automatically - no extra config needed. Login once and subsequent requests carry the session cookie:
### Login (sets session cookie automatically)
POST https://api.example.com/auth/login
Content-Type: application/json
{
"username": "admin",
"password": "secret"
}
### This request automatically sends the cookie from login
GET https://api.example.com/dashboard
### Disable cookies for a specific request
# @setting no-cookies true
GET https://api.example.com/public/health
### Alternative: disable via @apply
# @apply {settings: {"no-cookies": "true"}}
GET https://api.example.com/public/status