The problem with manual setup
Creating a realistic mock for an e-commerce API from scratch means: defining 15+ endpoints, writing response JSON for each, configuring status codes, adding Faker data, creating CRUD tables for products and orders... Easily 30-60 minutes of repetitive work.
With httpdrop's AI mock generator, you describe what you need in plain English — and get a complete working API in under 10 seconds.
How it works
-
1
Describe your API in natural language. Be specific: mention the domain, main resources and the use cases you want to test.
-
2
The AI analyzes the context and generates 3 to 8 mock rules with: correct HTTP method, RESTful paths, appropriate status codes and response examples with Faker data.
-
3
Review and apply. You see a preview before confirming. You can edit any generated rule before applying it to the endpoint.
Prompt examples
Healthcare system
Create an API for a medical clinic with endpoints to list doctors by specialty, schedule appointments, retrieve patient history and cancel bookings. Use Brazilian data formats (CRM, names, dates).
Payment API
Payment API with: check balance, initiate transfer, confirm with token, list transactions and cancel pending transfer. Include error scenarios (insufficient funds, invalid key).
What the AI generates for you
Mock Rules — Each endpoint with method, path, status code and response body with contextually appropriate Faker tokens.
CRUD Tables — For resources that need persistence, automatically creates tables with the right columns.
Descriptions — Each rule gets a description of what it does, making maintenance easier and enabling automatic API Portal documentation.
Available on: AI generation requires a Pro plan or higher and an Anthropic API key configured on the instance. On self-hosted instances, you use your own key — no usage limits imposed by httpdrop.