Welcome to Axomock Docs

Learn how to use Axomock to supercharge your frontend development. No database, no configuration. Just fast, regenerative mock data.

Quick start

You can use any HTTP client (fetch, axios, curl) to access the API.

fetch('https://axomock.fauzantaslim.biz.id/api/users/1')
  .then(res => res.json())
  .then(console.log);

Sorting

Use sortBy and order (asc/desc) to sort data.

// Get users sorted by firstName in descending order
fetch('/api/users?sortBy=firstName&order=desc')

Delay simulation

Append ?delay=ms to any API endpoint to simulate slow network connections.

// Wait 3000ms (3 seconds) before receiving the response
fetch('/api/users?delay=3000')