Cookie persistence layer shared across requests.
Removes all cookies from the current jar (sync).
Sends a GET request with sensible defaults.
Absolute target URL.
Optional fetch options (overrides defaults).
Sends a POST request.
Absolute target URL.
Request body (string or URLSearchParams).
Optional fetch options (overrides defaults).
Flushes in-memory cookies to disk.
Thin wrapper around
node-fetchthatEvery successful network round-trip is not persisted automatically anymore; instead call saveCookies at explicit checkpoints (e.g. after a login probe succeeds).