Overview
MocklyAPI provides multiple configuration options to customize your mock endpoints and simulate real-world API behavior. These settings allow you to control response types, status codes, authentication, delays, and data randomization.Available Configurations

Configuration Summary
| Setting | Options | Default | Description |
|---|---|---|---|
| HTTP Content Type | application/json | application/json | Response content type format |
| HTTP Response Code | 200, 400, 500 | 200 | HTTP status code returned |
| HTTP Method | GET | GET | Allowed HTTP method |
| Authentication | Enabled / Disabled | Enabled | Require auth token for access |
| Response Delay | 0-30 seconds | 0 | Simulate server latency |
| Always Random Data | Enabled / Disabled | Disabled | Generate new random data per request |
Always Random Data
Random Data Configuration
Generate fresh random data on every request.
Options
Disabled (Default)- Returns the same mock data on every request
- Consistent, predictable responses
- Ideal for deterministic testing
- Generates new random data for each request
- Different response on every call
- Useful for testing dynamic UI updates
Enabling this feature may increase API call latency, as new data is generated for each request.

