Ganesan-Chandran / vscode-fetch-client

Fetch Client is Visual Studio Code extension which is used to test the Rest API.
https://marketplace.visualstudio.com/items?itemName=GanesanChandran.fetch-client
MIT License
13 stars 6 forks source link
api-client api-testing fetch-client http-client vscode-extension

Fetch Client

Fetch Client Icon

What is Fetch Client ?

"Don't leave from VSCode, Stay with it - For Rest API testing. 😎

Fetch Client is Visual Studio Code extension which is used to test the Rest API.

Why Fetch Client ?

πŸ“¦ How to Install ?

πŸ’‘ How to use ?

Fetch Client Extension
Fetch Client v1.0.0

πŸ”— Features

1) UI Customization

We can customize the UI in different modes.

Fetch Client-Horizontal mode(Accordion View)
Horizontal mode - Accordion View

Fetch Client-Horizontal mode(Split View)
Horizontal mode - Split View

Fetch Client-Vertical mode(Split View)
Vertical mode - Split View

2) Different HTTP Methods

Fetch client supports to test the Rest API request with various HTTP methods such as GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS.

3) Query Parameter

Fetch client supports to test the Rest API request with query parameter.

4) Authorization

Fetch client supports below authorization methods for Rest API testing.

5) Headers

We can add the headers for API testing. Fetch Client gives the suggestion on various headers and corresponding values in the header section.


Header search

Header suggestion

6) Request Body


Body request(Binary format)

7) Test


Visual test editor Visual test case and test results
Fetch Client - Test Case/Test Results

8) Set Environment Variable


assign variables

9) Response Data

response view

10) Test Results


Test results

11) Pre-requests

Pre-requests

12) Notes

Notes section is used to add the notes or documentation regarding the request. Fetch client has simple editor to add the documentation.

notes

13) Code Snippet

Fetch client supports code snippet generation for various languages. Generate code snippets to send request from another application. Open request view and click icon (right side of the response section) for code snippet generation. The code snippet generation is available for following languages.

code snippet generation

14) Request Cancel

Fetch client provides the feature for cancel the request. If you want to cancel the processing request then click then "Cancel Request" button in the response section.

15) Quick Access

Fetch client provides the quick access of History, collection and Environment variables in the side bar.

How to Import Collection

How to Import Variable


Sidebar quick access

16) Run All requests


Run All menu Run All UI Run All settings

17) Manage Cookies


Manage Cookies Menu Manage Cookies UI

18) Run/Import Curl Request


Import Curl Menu
Import Curl
Import Curl Request
Run Curl Command
Run Curl Request

19) System variables


System variables

20) Logs


Logs

Logs settings

21) Workspace


Workspace settings

DO NOT ENTER/EDIT MANUALLY in the below settings. Configuration will be done automatically. Manual editing may lead to data loss.


Workspace settings

⌨ Keyboard Shortcuts

βš™οΈ Configuration


Fetch Client settings
Name Setting Default Description
Layout fetch-client.layout Horizontal Split Layout of Fetch Client
Horizontal Layout fetch-client.horizontalLayout Accordion Style Style of Horizontal Split Mode
SSL Check fetch-client.SSLCheck true Enable Strict SSL Check for API Request
History Limit fetch-client.historyLimit 25 Number of items to be displayed in the History
Time Out fetch-client.timeOut 5 min Request Timeout
Default Protocol fetch-client.defaultProtocol http Which protocol to add with URL (if URL has no protocol)

Fetch Client settings

πŸš€ Tech Stack

Fetch Client is created with below tech stacks.

πŸ–₯️ Running the extension locally for development

πŸ”’ Privacy

πŸ“ Changelog

See the release notes for the full set of changes.

βœ’οΈ Author

Ganesan Chandran

πŸ“œ License

See the license details.

πŸ‘ Contribution

Feel free to submit a pull request if you find any bugs or new feature (To see a list of active issues/feature request, visit the Issues section). Please make sure all commits are properly documented.