API Tester

Browser requests are subject to CORS restrictions. OFF — Postman works because it's a desktop app; proxies let the browser bypass CORS.
KeyValueDescription
HeaderValueDescription

Pre-request Script

Runs before the request is sent. Use pm.environment.set(key, val), pm.globals.set(key, val), pm.variables.set(key, val), pm.request.headers.add({key,value}). Access pm.environment.get(key), console.log().

Tests

Runs after the response is received. Use pm.test(name, fn), pm.expect(value), pm.response.json(), pm.response.text(), pm.response.code, pm.response.responseTime, pm.response.headers.get(key).

Cookies are automatically managed by the browser for same-domain requests. You can also manually add cookies to send with requests.
NameValueDomain

Response

Send a request to see the response here.

Press Ctrl+Enter to send