mockdock.dev

~/tools / 09 / paginated-api-response

Paginated Data Seeder

Pagination bugs hide at the edges: the last page, the empty page, the cursor that says there is nothing more. Seed all of them instantly — a classic offset envelope with page/per_page/total metadata, a cursor-based shell for infinite scroll, and a final short page to prove your "load more" button knows when to stop.

compose payload

— validating —

exported mock url

▸ open mock ↗
simulated response headers

$ man pagination

Everything above is encoded into the #data= fragment of the exported URL — deflated and base64url-packed by your browser. Fragments are never sent to any server, so this mock is shareable and private. Paste the URL anywhere: a teammate's browser decodes it identically.

grep -i related-searches

  • mock paginated api response
  • page per_page total json example
  • cursor pagination response mock
  • test infinite scroll api
  • fake paginated data generator