Urgent.News

What's breaking now, across thousands of outlets.

Tech

Introducing the All-New Playground API: Stateful Mocking, Stripe Parity & 70+ Interactive Guides

We have all been there. You are building a frontend feature in React, Next.js, Vue, or Flutter. The backend API is not ready yet, or you are running an automated Playwright test in CI. You plug in a traditional fake API like JSONPlaceholder or DummyJSON. Everything looks fine until you need to test actual CRUD mutations: // 1. You create a new post await fetch ( '…

The all-new Playground API has been introduced, a stateful mock REST and GraphQL sandbox designed to simplify testing frontend features in React, Next.js, Vue, or Flutter. This free tool allows developers to test CRUD mutations without waiting for a backend API to be ready.

Key enhancements include an interactive Try-It live playground, enabling users to execute queries, mutate resources, and observe real-time persistence with a single click. The landing page features this embedded, full-featured API playground.

The documentation has been reorganized into 15 categories, complete with visual sequence diagrams, live execution consoles, and multi-language snippets (Fetch, Axios, cURL, Python, SDK). These categories cover mock commerce and billing, virtual communications, real-time WebSockets and SSE, chaos engineering and fault injection, JWT auth and refresh loops, and more.

An official TypeScript SDK is available for zero-dependency isomorphic use. Install via npm with the command: npm install playground-api. Import and initialize the PlaygroundClient with the baseUrl and credentials for automatic session cookie persistence.

The API is machine-readable, making it suitable for AI and agent automation. Specifications are available in llmstxt.org standard, OpenAPI 3.0 inline schema, and an agent discovery manifest. The new UI is live and accessible without registration or API keys at https://playground.nileslabs.com. Further documentation can be found at https://playground.nileslabs.com/docs and the GitHub repository at https://github.com/nileslabs/playground_api.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Security updates for Friday

Security updates have been issued by AlmaLinux (dogtag-pki, expat, freerdp, gawk, gdb, ghostscript, gvfs, kernel, kernel-rt, libpcap, openssh, pki-core, rsync, thunderbird, and webkit2gtk3), Debian…

More from Friday 2 October →