Replace pm.sendRequest when you move scripts to Requestarium
pm.sendRequest doesn't run in Requestarium yet. Four patterns that replace it, usually with less code: a token request, built-in OAuth 2.0, setup steps and a loop with setNextRequest.
Product updates, migration guides and API testing tips from the Requestarium team.
27 articles in AuthenticationClear filters
pm.sendRequest doesn't run in Requestarium yet. Four patterns that replace it, usually with less code: a token request, built-in OAuth 2.0, setup steps and a loop with setNextRequest.
Broken function level authorization (OWASP API5) means a normal user can call an admin action. How to test every admin endpoint with every role, using one folder, a data file of tokens and a single check.
Does your login slow down password guessing? How to send a burst of wrong passwords from a collection run, check for 429 or lockout, check the error doesn't reveal which emails exist, and clean up afterwards.
Many APIs "log out" by forgetting the token on the client while the server keeps accepting it. Four requests that test logout, revoked refresh tokens, password changes and sessions on other devices.
Copying the same bearer token, base URL and login script into fifty requests is how collections go stale. What a collection or folder can define for everything inside it, in what order it applies, and how a request overrides it.
Many APIs want each request signed with a shared secret, a timestamp and a hash of the body. How to build the signature with crypto-js in a pre-request script, keep the secret out of the collection, and debug a signature mismatch.
Rules that apply to everyone in your Requestarium organization on every call, not just at sign-in. Require single sign-on, require two-step verification, cap session length, sign out idle sessions and limit access to your office or VPN addresses.
Close sign-up or limit it to your domain, set a minimum password length, refuse breached passwords, lock accounts after wrong guesses, cap session length and put SSO first on the sign-in screen. All from Settings ▸ Installation ▸ Authentication, without a restart.
Rotating a key means a window where the old and the new key both work, then only the new one. How to test that window, revoked keys and the error clients see, with environments and a short folder.
Get an Auth0 Management API token with client credentials, search and create users, assign roles, and test that the token's scopes are as narrow as you meant. Use a development tenant.
Create, search, update and archive contacts through the HubSpot CRM v3 API with a private app token, follow cursor pagination, and test the 409 you get for duplicate emails. Use a developer test account.
Get a Microsoft Graph token with client credentials from Entra ID, list users with $select and $filter, follow @odata.nextLink, and know when you need ConsistencyLevel: eventual. App-only vs delegated permissions explained.
Get a PayPal sandbox access token with client credentials, create an order, approve it with a sandbox buyer, capture it, and make retries safe with PayPal-Request-Id. Amounts are decimal strings.
Call Supabase's auto-generated REST API with the anon key and a signed-in user, filter with PostgREST operators, and write the tests that matter most: that row level security really hides other users' rows.
Create, read and update Zendesk tickets through the Support API with email/token Basic auth, use cursor pagination, and handle 429 with Retry-After. A collection you can point at a sandbox.
Sign requests with AWS Signature Version 4 in an API client: which fields to fill, which service name to use, temporary credentials from SSO, and why a signature stops matching.
Settings ▸ Sessions lists every sign-in of your Requestarium account across the desktop app, browsers, IDE extensions and the CLI. Sign out one device, or everywhere else, in a click.
A CI job running on a personal token breaks when that person leaves, and can do everything they can. Organization tokens are scoped, limited to chosen workspaces, expire, and show in the audit log.
Broken object-level authorization is the most common serious API bug. Test it with two users, two tokens and a handful of requests that should all return 403 or 404.
Decode a JWT in a test script, check its claims, and send the tokens an API must reject: expired, unsigned, re-signed, for another audience. Plus how to refresh a token before it expires mid-run.
Set up OIDC or SAML single sign-on for a Requestarium organization, verify your email domain with DNS, add people on first sign-in, and require SSO without locking admins out.
Call Google APIs such as Drive, Calendar and Sheets from an API client with OAuth 2.0 authorization code and PKCE, a desktop OAuth client, the right scopes and refresh tokens. Step by step.
Call the GitHub REST API from an API client with a fine-grained token, follow Link-header pagination, watch the rate limit and write tests, step by step.
Call the Slack Web API with a bot token, post and update messages, and test it properly, because Slack answers 200 OK even when a call fails. Includes scopes, errors and rate limits.
Send and test SMS with the Twilio API from an API client using basic auth, form-encoded bodies and Twilio's test credentials and magic phone numbers, without sending real messages or paying for them.
How the common API authentication schemes work on the wire, when each is used, and how to configure them once per collection so every request inherits them.
Get OAuth 2.0 access tokens in your API client with client credentials, authorization code with PKCE or password grants, refresh them, and handle OAuth in CI without storing long-lived tokens.