Skip to content

Settings

Settings

ApiTune provides cloud synchronization capabilities for your rule configurations. With a free account, your rules and configurations are automatically synchronized across devices, ensuring consistent debugging environments.

CA Certificate Installation

CA Installation

Proxy Configuration

Configure custom proxy ports to manage traffic interception. This allows flexibility in avoiding port conflicts and integrating with other development tools.

CORS Management

INFO

This feature is available in the Pro version. Upgrade to Pro version here.

ApiTune offers automated CORS (Cross-Origin Resource Sharing) handling. When enabled, it automatically injects appropriate CORS headers for OPTIONS requests and provides granular control over CORS configurations.

Customize CORS behavior through the following configuration options:

js
/**
 * CORS Configuration Options
 *
 * @param {Object} [options]
 *  - {String|Function(ctx)} origin: Controls `Access-Control-Allow-Origin`
 *    Default: '*'. With credentials enabled, defaults to request's Origin
 *  - {String|Array} allowMethods: Allowed HTTP methods
 *    Default: 'GET,HEAD,PUT,POST,DELETE,PATCH'
 *  - {String|Array} exposeHeaders: Exposed response headers
 *  - {String|Array} allowHeaders: Allowed request headers
 *  - {String|Number} maxAge: Preflight cache duration in seconds
 *  - {Boolean|Function(ctx)} credentials: Controls credentials mode
 *  - {Boolean} keepHeadersOnError: Preserve headers on error responses
 *  - {Boolean} secureContext: Enable SharedArrayBuffer security headers
 *  - {Boolean} privateNetworkAccess: Handle private network access requests
 */

options = {
    origin: '*',
    allowMethods: 'GET,HEAD,PUT,POST,DELETE,PATCH',
}

HTTPS Inspection

INFO

This feature is available in the Pro version. Upgrade to Pro version here.

Selective HTTPS Decryption

ApiTune's selective HTTPS inspection allows you to optimize performance by targeting specific domains for traffic inspection. This feature helps reduce memory usage and maintain UI responsiveness.

Configure domain patterns to specify which HTTPS traffic to inspect. Supports wildcard notation (*). Example: *.example.com

HTTPS Decryption

INFO

Requests to non-specified domains will appear as 'Connect' requests without detailed inspection capabilities. Rule application is limited to specified domains only.

TIP

You can also configure the browser proxy bypass list in the browser extension settings to further improve performance.

Visual Preferences

Theme Selection

Choose between light and dark themes to match your working environment preferences.

Language Options

ApiTune supports English and Chinese interfaces, allowing you to work in your preferred language.