Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>TestEndpointNew to Visual Studio Code? Get it now.
TestEndpoint

TestEndpoint

AddonLogic

|
2 installs
| (0) | Free
A lightweight Postman alternative inside VS Code: build, save, and run HTTP requests with collections, environments, auth, history, and code generation.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TestEndpoint

A lightweight Postman alternative that lives inside VS Code. Build, save, and run HTTP requests, organise them into collections, switch between environments, and generate client code — without leaving your editor.

TestEndpoint runs every request from the extension host (Node) using Axios, so there are no browser CORS limits, and all your data is stored locally in VS Code's global storage.

At a glance

🧱 Request builder — methods, URL, params, headers, body, and auth in one panel
🗂️ Collections — organise saved requests into collections and nested folders
🌐 Environments — {{variables}} with environment switching and globals
📜 History — re-run any past request in a click
⚡ Response viewer — status, time, size, pretty JSON, headers, copy
🧩 Code generation — cURL, Fetch, Axios, PHP, Python, Node.js

Features

Request builder

  • All standard methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS.
  • URL bar with inline send (press Enter).
  • Editable query parameters and headers (toggle rows on/off).
  • Request body in three modes: Raw JSON (with one-click formatting), Form Data, and x-www-form-urlencoded.

Authentication

  • No Auth, Basic Auth, Bearer Token, and API Key (sent as a header or query parameter).

Response viewer

  • Status code, response time, and payload size at a glance.
  • Pretty-printed JSON with a raw toggle, plus a response headers table.
  • One-click Copy of the body or headers.

Collections

  • Create collections and nested folders.
  • Save requests into any collection or folder.
  • Rename and delete items from the sidebar.
  • Export a collection to JSON and import it back later.

Environments & variables

  • Create named environments and a shared set of global variables.
  • Reference them anywhere with {{base_url}} style placeholders — in the URL, params, headers, body, or auth.
  • Switch the active environment from the top bar. Environment variables override globals of the same name.

History

  • Every executed request is recorded with its status and timing.
  • Re-load any past request into the builder with a click.
  • Clear the history at any time.

Code generation

Generate a ready-to-run snippet for the current request in:

  • cURL
  • JavaScript Fetch
  • Axios
  • PHP cURL
  • Python Requests
  • Node.js (built-in http/https)

UI

  • Dedicated activity-bar icon and a Collections tree view.
  • Rich webview editor built with React.
  • Automatically matches your light or dark theme and stays usable when the panel is narrow.

Usage

  1. Click the TestEndpoint icon in the activity bar to reveal the Collections view.
  2. Run TestEndpoint: New Request (from the view title or the Command Palette) to open the editor.
  3. Choose a method, enter a URL, add params/headers/body/auth, and click Send.
  4. Click Save to store the request in a collection (create one inline if you have none yet).
  5. Use the Manage button in the top bar to define environments and variables.
  6. Click Code to generate a snippet in your language of choice.

Variables

Use {{name}} anywhere in a request. At send time the placeholder is resolved against the active environment first, then the global variables. Unresolved placeholders are left as-is so you can spot them.

GET {{base_url}}/users?token={{api_token}}

Building from source

This extension has two parts: the Node extension host (bundled with esbuild) and the React webview (built with Vite).

npm install            # install extension-host dependencies
npm run build          # builds the webview, then the extension bundle
npm run typecheck      # type-check the extension host
npm run lint           # ESLint over src

npm run build runs build:webview (which installs and builds webview-ui) followed by build:extension. Press F5 in VS Code to launch the Extension Development Host.

Publishing

npm run package                          # creates a .vsix with @vscode/vsce
npx @vscode/vsce publish                 # publishes (after vsce login)

Privacy

TestEndpoint makes only the network requests you explicitly send. Collections, environments, and history are stored locally in VS Code global state and never leave your machine.

License

Released under the MIT License. See the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft