Try an endpoint in the playground
Send a request to any endpoint from its reference page, change the inputs, and read the response, without writing code.
Each endpoint page has a playground that sends real requests to the mock server. Use it to see how an endpoint responds before you write a client, or to copy a working request as code.
You need the mock server running on your computer. If it isn’t, follow Run the mock server first.
Send a request
- In the sidebar, under Endpoints, open the endpoint you want, such as Check text.
- Select Try in playground.
- In the Authorization field, enter a key after
Bearer, such aswsk_test_example. The mock accepts any key. - Select Send, or press Ctrl+Enter (⌘+Enter on a Mac).
The response appears on the right, with its status, such as 200 OK, and its body. Select Headers to see the Watership-Release and rate limit headers.
Change the request
- Change a value in the request inputs. For Check text, set
min_leveltoerror, or choose Report errors only from Example. - Select Send again.
The mock responds with the spec’s example whatever you send, so the findings don’t change with the text. It does reject a request that breaks the spec. To see that, select JSON above the body, delete the text line, and select Send. The response is 400 Bad Request.
Copy the request as code
- Under Request, choose a language, such as Python.
- Select Copy code beside the language.
The code includes your key and body, ready to run against the same server.
Related
- Playground describes every element on the panel.
- Check your first draft makes the same requests from a terminal.

