Request

A Stoobly request represents a HTTP request

Enables mocking, testing, and replaying

Fields

Hostname

Name of the host where the request was received at

Port

Port where the request received at

Path

Request path e.g. /users/1

Latency

Response latency in milliseconds

Status

Response status code

Components

Headers

List of name and value pairs respectively representing the header name and header value

Query Params

List of name and value pairs respectively representing the query param name and query param value

Body

Data of blob format representing the request body

Response

Represents a HTTP response. See details here

Response Headers

List of name and value pairs respectively representing the response header name and response header value

Request Key

Every request will have a unique identifier for your Stoobly context. This can be retrieved from the UI or the CLI.

From the UI

Navigate to the requests page then click on a request. This will open the request details page from the right side. At the top there will be a Key field which is the request Key.

Request Key in the details page

From the CLI

Run the following command to view some requests:

Here in our example we have a single request. The request key can be found in the key column. In the example above, it iseyJwIjogMCwgImkiOiA0MjR9.

Last updated

Was this helpful?