Building a request
A request has a method, a URL and a row of tabs: Params, Auth, Headers, Body, Assertions, Script and Settings.


URL and query parameters
Section titled “URL and query parameters”The URL and the Params tab stay in step both ways: type ?page=2 in the URL and a row appears; edit a row and the
URL changes. Untick a row to keep it without sending it. Rows with neither a name nor a value are not saved.
{{variable}} names in the URL are coloured: blue when they have a value, orange when they do not. The line under
the URL shows it with the values filled in (secrets as ••••••). Rest the pointer on a variable, click it, or press
⌥↓ (Alt+↓) with the cursor in it to see its value and where it comes from, and to change it.
Headers
Section titled “Headers”Add your own headers on the Headers tab. When you have not set them, korAPI sends Host, User-Agent: korapi/<version> and Accept: */* for you. It does not ask for compressed answers, so the size you see is the size
that came over the network.
Settings
Section titled “Settings”The Settings tab chooses the proxy for this request (the app’s, none, or its own) and whether to check the server’s certificate. Checking is on; turning it off shows a warning.
Redirects
Section titled “Redirects”korAPI follows up to 10 redirects. After a 303 it sends a GET without a body; after a 301 or 302 that answered a
POST it also switches to GET; 307 and 308 keep the method and the body. Authorization and Cookie headers are
dropped when a redirect goes to another origin.
Tabs and layout
Section titled “Tabs and layout”Clicking a request opens it in a preview tab (its name in italics), which the next one you click replaces. Edit it, save it or double-click the tab to keep it open. ⌘W (Ctrl+W) closes a tab and ⌃Tab (Ctrl+Tab) moves to the next one.
Drag the line between the request and the response to resize them; each keeps at least 200 px, the arrow keys move it 40 px at a time, and korAPI remembers where you left it.