Curl Client
Curl Client allows you to send HTTP requests using curl directly from VS Code.
Features
▶ Run Curl Requests Inline
Click “Send Curl Request” above any curl command.
📄 .curl File Support
Create files like api.curl, test.curl, or any name with a .curl extension.
🎨 Syntax Highlighting
Highlights:
- Comments
- HTTP methods (GET, POST)
- Curl flags (-X, -H, -d)
- URLs and strings
📤 Response Output in VS Code
Request output is shown in the VS Code Output panel.
⚡ Lightweight & Fast
No extra configuration required.
🌐 Supports all types of requests like: GET, POST, PUT, PATCH, DELETE
Usage
- Create a file with a .curl extension ( like api.curl )
- Write your curl command inside the file.
- Click ▶ Send Curl Request shown above the curl command.
Example
make file (like: api.curl or example.curl)
GET request
curl -X GET https://api.com/posts/3
POST request
curl -X POST https://api.com/posts
-H "Content-Type: application/json"
-d '{ "title": "foo", "body": "bar", "userId": 1}'
Supported File Types
Notes
- Make sure curl is installed and available in your system PATH.
- Multiple curl commands can be written in the same .curl file.
- or create multiple files and write curl commands.
| |