EchoAPI-Team / echoapi-for-vscode-support

EchoAPI for VS Code is a lightweight Rest API Client Extension for VS Code.
https://www.echoapi.com/plugin/vscode
MIT License
3 stars 0 forks source link

EchoAPI for VS Code

EchoAPI for VS Code

EchoAPI for VS Code is a lightweight REST API client extension for Visual Studio Code, designed with a focus on simplicity, clean design, and local storage, and it's free to use.

Why EchoAPI?

EchoAPI has a few standout features:

  1. No login required: Just install and start using it.
  2. Supports Scratch Pad: Makes jotting down quick notes and ideas super easy.
  3. Ultra-lightweight: It’s incredibly fast and doesn’t bloat your system.
  4. 100% compatible with Postman script syntax: You can switch over without having to relearn anything.

Installing EchoAPI for VS Code

Installing EchoAPI for VS Code

Getting started with EchoAPI is a breeze. Just navigate to the VS Code Extensions Marketplace, search for EchoAPI, and hit install. No additional tools or sign-ins are necessary—everything operates straight from your VS Code sidebar.

Creating New Requests

Creating New Requests

To create a new request, start by opening the EchoAPI tab where you’ll see options for recent activities, collections, and environments. It’s pretty intuitive if you’ve used Postman before. Right-click on the collection list to create a New Collection, name it, and then right-click on the collection name to add a new request.

Running a collection

Just pick the folder you want to run, right-click, and hit "Run All." That’s it! Running a collection

Variables and Environments

EchoAPI is 100% compatible with Postman script syntax

Just like in Postman, you can use variables and manage environments in EchoAPI. EchoAPI is 100% compatible with Postman script syntax. To activate a specific environment for your tests, just set it as active (indicated by a star next to the environment name). Importing and exporting environments is compatible with Postman 2.1.0 format and .env files.

System Variables

System Variables

EchoAPI also has a set of system variables that streamline generating unique data. Prepend $ before the variable name to use them:

Script-less Testing

Testing in EchoAPI is straightforward and script-less

Testing in EchoAPI is straightforward and script-less. Choose a parameter from the dropdown menu, set your condition and value, and you’re done! There are plenty of parameters and conditions to choose from, like ResponseCode, ResponseBody, or Content-Type. You can even set values from API responses to environment variables or verify specific JSON path values.

Authentication

EchoAPI supports various authorization types

EchoAPI supports various authorization types, including None, Inherit, Basic Auth, Bearer, and OAuth 1.0. This is super useful for testing secured APIs that require credentials or tokens.

Useful Links

EchoAPI is continually growing, and I’ll definitely keep an eye on its progress. Here are some useful links:

Give EchoAPI a try and see how it compares to Postman for your API testing needs!