Method & Path
Directly under the endpoint tabs sits a single row that holds the three things an endpoint needs before it can answer anything: the HTTP method, the path on which it lives, and a way to preview the full URL it will be reachable at. This row is always visible while an endpoint is open.
The Method Selector
The method is a dropdown at the far-left of the row. It lists every standard HTTP method supported by Tigrister — the exact same list as the regular HTTP request editor — so anything you can send from Tigrister's HTTP tab, you can mock from here. Switching the method takes effect immediately; there is no confirmation step.
Edit vs. Preview
Next to the method dropdown there is a two-button toggle labelled Edit and Preview. It controls how the path field is displayed:
- •Edit: the default. Shows a plain text input where you can type and edit the path literally. Everything you type — including placeholders like {{random.uuid}} — is saved exactly as written.
- •Preview: turns the input into a read-only display of the full URL a client would hit. Any path variables in the path (such as {{random.int}}) are resolved to fresh sample values so you can see what a real request would look like. A new set of sample values is generated each time you switch into Preview.
The Path Field
The path is the part of the URL that comes after the host and port. The field takes anything you type, with one strict rule:
- •Empty path: an empty path triggers the inline warning "Enter a path to save this endpoint (e.g. /api/resource)". Until the path is filled in, the endpoint will not be persisted, even after the debounce.
- •Missing leading slash: a path that does not start with / triggers the warning "Path must start with '/'". The editor still keeps whatever you have typed, but the save is blocked until the slash is there.
- •Duplicate of another endpoint: if another endpoint on the same server has the same method and path, an extra warning appears: "Duplicate endpoint: another endpoint with the same method and path already exists". See the Endpoint Tabs sub-section for the full story on duplicates.
Query parameters can also be typed directly into the path — for example /users?active=true. As soon as you do, Tigrister parses the query string and populates the Params tab in the request panel below with one row per parameter. Editing a row in the Params tab rewrites the path field for you, so the two views stay in sync.
Copy URL
At the right end of the row there is a Copy URLbutton. Clicking it copies the full URL of the endpoint — host, port, and path — to the clipboard so you can paste it into a terminal, a browser, another Tigrister tab, or anywhere else you want to hit the mock. A small tooltip next to the button previews the URL before you copy, and the button briefly changes to Copied! after a successful copy.
Just like the Preview mode above, any path variables are resolved to fresh sample values at copy time — so each click of Copy URL gives you a fully concrete URL you can use right away without editing it by hand.