Make your first request
Let’s start by making a simple GET request to a public API.Create a new request
Click New Request in the sidebar, or press
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) and run LiteClient: New Request.Create an environment
Environments let you manage different configurations for local, staging, and production. Let’s create your first environment with variables.Add a variable
Click Add Variable and create your first variable:
- Name:
baseUrl - Value:
http://localhost:3000 - Type: Default
- Enabled: Yes
Add more variables
Add an API key variable:
- Name:
apiKey - Value:
your-api-key-here - Type: Secret (this masks the value in the UI)
- Enabled: Yes
Variables follow a layered resolution order: Globals → Collection → Environment. Variables defined in narrower scopes override those in broader scopes.
Organize with collections
Collections help you organize related API requests in a hierarchical structure.Add a request to the collection
Right-click the collection and select Add Request. Give it a name like “Get Users”.
Configure the request
The request opens in a new panel. Add your URL, headers, and any authentication:
Save the request
Your request is automatically saved to the collection. Any changes you make are persisted.
Add authentication
LiteClient supports multiple authentication methods. Let’s add a Bearer token to a request.Other authentication methods
API Key
Add an API key as a custom header or query parameter
Basic Auth
Username and password with automatic Base64 encoding
OAuth 2.0
Authorization Code, PKCE, and Client Credentials flows with automatic token refresh
Use the request history
Every request you send is automatically recorded in the History tab.Browse your requests
History is organized by day (Today, Yesterday, Last Week). Each entry shows the method, URL, and execution time.
Storage scopes
LiteClient gives you control over where your data is stored.- Global storage (default) - Collections, environments, and history are stored in VS Code’s global storage, available across all workspaces
- Workspace storage - Data is stored in a
.liteclient/folder in your project root, perfect for sharing API collections via Git
Workspace storage requires an open folder. Each scope maintains independent collections, environments, and history.
Next steps
You’ve learned the basics of LiteClient. Here’s what to explore next:Scripting
Write pre-request and post-response scripts to automate workflows
Cookie management
View and manage cookies with the built-in Cookie Manager
Import collections
Migrate from Postman by importing Collection v2.1 files
OAuth 2.0
Set up OAuth 2.0 flows with automatic token caching and refresh