Docs

REST API Toolkit

Extend Your REST API Without Changing Backend

MockQL lets you extend your existing REST API with new endpoints and features without managing multiple endpoint URLs or changing your backend code.

Intercept Production API Requests

Extend your existing production API without changing URLs

Proxy Intercept.json
// Intercept requests to your production API
{
  "operation": "intercept",
  "url": "https://myproductionapi.com/api/v1/posts",
  "method": "GET",
  "options": {
    "proxyMode": true,
    "statusCode": 200
  }
}

What You'll Get

Using Your Existing API URL

GET https://myproductionapi.com/api/v1/posts

With proxy intercept:

  • Use the same API URL in your frontend
  • MockQL transparently proxies to your backend
  • Intercept specific endpoints while letting others pass through
  • Control status codes and response timing
WORKFLOW
1

Client makes request to original API URL

2

MockQL intercepts the request

3

Request is proxied to your real backend

4

MockQL serves modified or original response

REST API Features

Seamless API Proxy

Use your existing API URLs while extending them with new endpoints and features.

Endpoint Mocking

Mock missing endpoints while they're in development without changing your API URLs.

Response Transformation

Modify API responses to match future changes without waiting for backend updates.

Request Interception

Capture and modify requests before they reach your backend for testing edge cases.

Dynamic Data Generation

Generate realistic mock data with Faker library and request-based templates.

Error Simulation

Test how your application handles API errors, timeouts, and other edge cases.

How MockQL Works with Your REST API

1

Intercept API Request

MockQL captures requests to your existing API

RequestGET /api/v1/posts
2

Apply Rules

Determine how to handle based on your configuration

Options
ProxyMockTransform
3

Deliver Response

Send back modified or mocked API responses

Response200 OK (JSON)

Ready to extend your REST API without waiting for backend changes?

Start using MockQL today to extend your existing API with new endpoints, modify responses, and speed up your development workflow.