Import from cURL or Postman data
EchoAPI for VS Code's built-in API client enables you to create and send API requests, including HTTP requests. You can send a request to an endpoint, retrieve data from a data source, or test an API's functionality— all without needing to enter commands in a terminal or write any code. When you create a new request and select "Send," the API response appears directly within EchoAPI for VS Code, making the process seamless and efficient.
To create a new request, let's simulate sending a request as follows (you can directly import the request using the cURL or Postman import feature):
Import cURL:
curl -X GET "https://httpbin.org/anything" -H "accept: application/json"
Enter the EchoAPI for VS Code, and create a new request using cURL.
Paste the cURL and click "Import"
After importing, you can also modify the parameters
Click "Send", and the response data will appear in the lower pane.
Import from Postman:
Supports JSON collections exported from Postman V2.0. It's recommended to upgrade Postman to the latest version before exporting.
Enter the EchoAPI for VS Code, and "Import from Postman".
Upload the file to EchoAPI for VS Code and click "Import Now". After importing, you can also modify the parameters
Click "Send", and the response data will appear in the lower pane.
Congratulations on experiencing the creation of your first interface! Our tool also saves development and communication time for both frontend and backend teams.
There are many more exciting features for you to discover.