Basic Workflow
Basic Workflow
Section titled “Basic Workflow”The typical workflow in API Dev Studio:
- Create an endpoint - Define the path, method, and response
- Test it - Make requests to your mock server
- Inspect requests - View logged requests in the Request Inspector
- Iterate - Refine your mocks based on what you learn
Create Your First Endpoint
Section titled “Create Your First Endpoint”- With your project selected, click New Endpoint
- Choose Mock as the endpoint type
- Set the path:
/api/users - Set the method:
GET - In the response body, enter:
[ { "id": 1, "name": "Alice" }, { "id": 2, "name": "Bob" }]- Click Save (or changes auto-save after a moment)
Test Your Endpoint
Section titled “Test Your Endpoint”curl http://localhost:3001/api/usersYou’ll see your mock response!
View in Request Inspector
Section titled “View in Request Inspector”- Click Requests in the sidebar
- See your curl request logged with full details
- Click a request to view headers, body, and response
Next Steps
Section titled “Next Steps”- Add dynamic data with template variables
- Set up proxy recording to capture real API responses
- Create multiple response variations