Examples

An Example in JetClient is a child request linked to a parent request. Examples are used to manage variations of a request, such as different query parameters, path variable values, or request bodies, without duplicating the main request.

In the collection tree, examples appear under their parent request and inherit the same URL, HTTP method, and authentication settings, which cannot be modified. However, you can customize query parameters, path variable values, request body, headers, and scripts.

Creating an Example

To create an example:

  1. Select a parent request in the Collection Tree.
  2. Open the context menu and choose Add Example….
  3. Enter a Name and an optional Description (displayed next to the example in the tree).

The example will be created under the selected parent request, and its editor will open automatically.