Playground API v2 Adds Delay Simulation, Error Injection, and Postman Export
Playground API, a zero-config stateful mock REST API for frontend developers, has received a major v2.0 update days after its initial launch. The update introduces network delay simulation via query parameters or request headers, allowing developers to test loading states and spinners more realistically. Developers can now also inject arbitrary HTTP error responses on demand to verify how their applications handle failures like 500 or 404 errors. Version 2 adds nested sub-resource routing, full-text search, dynamic sorting, and header-based session identity for use with E2E test runners like Playwright and Cypress. The release also includes downloadable API specs for Postman, Bruno, and Insomnia, along with auto-generated code snippets in nine programming languages.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in