Skip to main content

Others

⌨️ Keyboard Shortcuts

ShortcutAction
Ctrl+Shift+P → Type "Fetch Client - New Request"Create new request
Ctrl+Alt+NOpen Fetch Client view
Enter (in URL box)Send request
Cmd/Ctrl + SSave request without sending

⚙️ Configuration

How to Access Settings

  1. Open VS Code Settings (Ctrl+, or Cmd+,)
  2. Search for "Fetch Client"
  3. Adjust settings as needed

Available Settings

SettingsTypeDefaultOptionsDescription
Layout (fetch-client.layout)StringHorizontal SplitVertical Split, Horizontal SplitSelects the overall layout of the Fetch Client interface.
Horizontal Layout (fetch-client.horizontalLayout)StringAccordion StyleSplit Style, Accordion StyleSelects the display style when Horizontal Split layout is used.
Strict SSL Check (fetch-client.SSLCheck)Booleantruetrue, falseEnables or disables strict SSL certificate validation for API requests.
History Limit (fetch-client.historyLimit)String25All, 25, 50, 75, 100Specifies the maximum number of history entries displayed.
History View (fetch-client.historyView)StringFolderList, FolderChooses how request history is organized and displayed.
Request Timeout (fetch-client.timeOut)Number120000Any positive numberSets the request timeout in milliseconds. A value of 0 disables the timeout.
Default Protocol (fetch-client.defaultProtocol)Stringhttphttp, httpsAutomatically prefixes URLs without a protocol using the selected protocol.
Headers Case Sensitive (fetch-client.headersCaseSensitive)Booleantruetrue, falseWhen enabled, request headers are sent exactly as entered. When disabled, all header names are converted to lowercase before sending.
Separate Request Tab (fetch-client.separateRequestTab)Booleanfalsetrue, falseOpens each request in a separate editor tab instead of reusing the current tab.
Log Response (fetch-client.log)Booleanfalsetrue, falseBy default, only request details are logged. When enabled, both request and response details are logged.
Run Main Request on Pre-request Failure (fetch-client.runMainRequest)Booleanfalsetrue, falseWhen enabled, the main request runs even if a pre-request or pre-condition fails. When disabled, the main request is skipped if any pre-request or pre-condition fails.
Response Limit (fetch-client.responseLimit)Number51, 2, 5, 10, 20, 25Specifies the maximum response size (in MB) that Fetch Client processes.
DB Path (fetch-client.dbPath)StringDefaultDefault, Workspace, Custom PathSelects where Fetch Client stores its database files.
Custom DB Path (fetch-client.customDbPath)String""Any absolute directory pathSpecifies the storage location when DB Path is set to Custom Path.
Save to Workspace (Deprecated) (fetch-client.saveToWorkspace)Booleanfalsetrue, falseDeprecated. Use DB Path instead. Stores all Fetch Client data inside the current workspace.
Workspace Path (fetch-client.workspacePath)String""Internal valueInternal database path used by Fetch Client. Do not edit manually.
Encrypted Variables (fetch-client.encryptedVariables)Booleanfalsetrue, falseEncrypts environment variable values stored locally. Reload VS Code after changing this setting.
Variable Encryption Key (fetch-client.variableEncryptionKey)Stringfetch-client-Tr@nsit-$ecret-z0z4Any stringEncryption key used to encrypt and decrypt stored variable values. Changing this key without re-encrypting existing data may make previously stored values unreadable.
Export Collection with Variables (fetch-client.exportCollectionWithVariables)Booleanfalsetrue, falseExports any variables linked to a collection along with the collection. Exported variable values are saved in unencrypted format.
Save Response (fetch-client.saveResponse)Booleanfalsetrue, falseSaves response data locally after a request completes. Responses containing file downloads are not saved.
Fetch Client settings