Description
jaymock is a small API service that generates fake JSON data for testing and prototyping. You send a POST request with a JSON template as the body, and each field is filled with a fake value from a generator, such as a first name, last name, IP address or a fake SSN. A template can repeat a field several times to return an array of records. The README shows examples with curl, HTTPie and the request and got libraries in Node.js, so you can call it from a script or a terminal. The project is described as a tiny API mocking microservice, and it links to the libraries and tools it is built with. It is a developer tool for mock data rather than an end-user app.…
Highlights
- POST a JSON template and get fake JSON back
- Names, addresses, IP addresses and more
- Repeat fields to return arrays
- Examples for curl, HTTPie and Node.js
Ratings & Reviews
No ratings yet
Be the first to rate micro-jaymock.
People also visit
micro-jaymock FAQ
What is jaymock?
A small API service that generates fake JSON data from a template you send with a POST request.
How do I use it?
Send a POST request to the jaymock endpoint with your JSON template as the body. The response is generated JSON.
Which tools does the README show?
Examples use curl, HTTPie, and the request and got libraries in Node.js.
Can I return several records?
Yes. A template can set a _repeat count, so one request returns several records in an array.
What are the best micro-jaymock alternatives?
Popular alternatives to micro-jaymock include Data Mocker, Mockfly and Mockerito. See all micro-jaymock alternatives







