REST API client
A REST and GraphQL API client inside VS Code
Build a request, send it and read the response in one VS Code panel, next to the code that handles it. There is no account and no cloud sync: requests, environments and collections are stored locally in VS Code.
On this page 6 sections

What the API client does
Requests
Every HTTP method, plus GraphQL (query, variables and operation name) and WebSocket. Paste a URL or a whole cURL command into the address bar and press Enter.
Authentication
Bearer tokens, Basic auth and API keys, and an OAuth 2.0 token helper. API keys you type are not written to history, and credential-looking values in URLs are redacted from it.
Environments, collections and history
Keep hosts and tokens in environments and reference them as {{variable}}, so one saved request works against local, staging and production. Save requests to collections in folders; everything you send is in history.
cURL and code generation
Import a request by pasting cURL (for example from your browser's Copy as cURL), export any request as cURL for a bug report, or generate the same call in JavaScript (fetch or Axios), Python, Go, Java or C#.
Response viewer
Formatted body with search, headers, cookies, status, time and size. Copy the response or save it to a file.
AI provider requests
Ready-made request shapes for OpenAI, Anthropic, Gemini, Azure OpenAI, Ollama and any OpenAI-compatible endpoint, with streaming and schema validation.
Testing tools
Assertions, request chaining, batch performance runs, response comparison, mock servers and typed SDK export. These advanced tools cost points that you earn by using the extension — there is nothing to buy.
When it helps
- Building an endpoint: call it after each change without switching to another app, and keep the request in a collection next to the project.
- Reproducing a browser bug: copy the failing request from DevTools as cURL, paste it, and change one header at a time until you find the cause.
- Moving between environments: switch
{{baseUrl}}fromhttp:/to staging instead of editing every request./ localhost:3000 - Writing client code: generate a fetch, Axios, Python, Go, Java or C# call from a request that already works.
- Trying an LLM API: send a prompt to OpenAI, Anthropic, Gemini or a local Ollama model and inspect the raw response.
Send your first request
- Install DevSnip Pro and click its icon in the Activity Bar.
- Open REST API Client from the sidebar.
- Click Send a sample request, or paste any URL or cURL command and press Enter.
- Create an environment with a
baseUrlvariable, then use{{baseUrl}}/in the URL.users - Save the request to a collection so it is there next time.
For example, this cURL command imports as a complete POST request with its headers and JSON body:
curl -X POST https://api.example.com/v1/users \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{"name": "Ada", "role": "admin"}'What it does not do yet
- Import Postman or Insomnia collections. Paste requests as cURL instead.
./http .files, a CLI runner for CI, gRPC or SOAP.rest - Team workspaces and sync.
If you need team sharing or a CI runner, Postman or Thunder Client fit better; if you want requests as . files in your repository, try REST Client. The Postman alternatives guide compares them.
Tools in this area
Backend & API 8 tools
- REST API Client
- cURL Converter
- API Response Inspector
- URL & Query String Tool
- CORS Builder & Debugger
- OpenAPI / Swagger Toolkit
- GraphQL Formatter & Types
- API Resource Scaffolder
Questions
- Is the REST API client free?
- Yes. Requests, GraphQL, environments, history, unlimited collections, cURL import and export and code generation are free with no limits. Only the advanced testing tools cost points, which you earn by using the extension.
- Where are my requests stored?
- Locally, in VS Code. There is no DevSnip Pro account or server, and requests go only to the URLs you enter.
- Can I import my Postman collections?
- Not yet. Export a request from Postman as cURL and paste it into the address bar.