Plain text format guide
Sample text files
Small UTF-8 plain text files with one key and value section per record. Use them when a test needs readable text, a text/plain response or non-ASCII characters rather than a parseable format. Pick a whole collection (3 users, 2 projects or 3 tasks) or a single record. The 11 files range from 143 B to 1.2 KB.
No account or API key is needed. A published v1 file never changes, its SHA-256 is listed in the manifest, and the data is CC0, so you can also commit a copy to your own repository.
text/plain; charset=utf-8
Use it
Request an asset
Browser
const response = await fetch("/v1/projects.txt");
const payload = await response.text();curl
curl -fsS https://payloads.mochavi.com/v1/projects.txtPython
from urllib.request import urlopen
with urlopen("https://payloads.mochavi.com/v1/projects.txt") as response:
payload = response.read()Published files
11 stable URLs
| Path | Media type | Size |
|---|---|---|
/v1/projects.txt | text/plain; charset=utf-8 | 488 B |
/v1/projects/101.txt | text/plain; charset=utf-8 | 285 B |
/v1/projects/102.txt | text/plain; charset=utf-8 | 202 B |
/v1/tasks.txt | text/plain; charset=utf-8 | 481 B |
/v1/tasks/1001.txt | text/plain; charset=utf-8 | 166 B |
/v1/tasks/1002.txt | text/plain; charset=utf-8 | 143 B |
/v1/tasks/1003.txt | text/plain; charset=utf-8 | 170 B |
/v1/users.txt | text/plain; charset=utf-8 | 1.2 KB |
/v1/users/1.txt | text/plain; charset=utf-8 | 446 B |
/v1/users/2.txt | text/plain; charset=utf-8 | 380 B |
/v1/users/3.txt | text/plain; charset=utf-8 | 389 B |
Validate the canonical shape with the dataset schema.
Related guides: Cross-format test data, For coding agents.