Mock API Studio
Install this app
Installs in TopArrow. If you do not have it yet, setup opens this app.
Install “Mock API Studio” in TopArrow
Opening TopArrow. If it does not open, download TopArrow. After setup it opens this app’s install page.
Download TopArrowAlready have TopArrow? Search for this code in the Market.
top8982302164-uffs6vWhat this version does
Mock工具 helps frontend developers create and run local JSON mock APIs for development and testing, without setting up a separate backend for each endpoint.
Features
- Configure the HTTP method, route pattern, response status code, and JSON response for each rule.
- Match common HTTP methods or use
ANY. - Use path parameters such as
/users/:id. Insert a parameter into a JSON string value with{{id}}. - Match trailing wildcards such as
/files/*. - Send test requests from the management interface and review recent request logs.
- Logs include the time, method, path, matched rule, status code, and duration. Query parameters, headers, request bodies, and response bodies are not stored.
- The Mock API listens on
127.0.0.1:8020by default. You can change the port in the interface. Rules, port settings, and request logs are stored in SQLite in the app data directory.
The service listens on the local machine only and is not exposed to the LAN or public internet.