1. Mocking a User Profile Service
Frontend DeveloperBackground
The backend team is still building the user profile service, but the frontend needs to implement the user dashboard.
Problem
Need a live endpoint that returns user data based on a dynamic ID from the URL.
How to use
Input the endpoint definition with dynamic parameters and retrieve the mock URL.
{"name": "User Service", "basePath": "/api", "endpoints": [{"method": "GET", "path": "/users/:id", "status": 200, "dynamicResponse": true, "responseBody": {"id": "{{params.id}}", "name": "John Doe"}}]}Outcome
A temporary URL is generated, allowing the frontend to fetch user data by calling /api/users/123.