Prerequisites
Before you begin, you need:- Visual Studio Code
- A running API to call, or a project with Express or Next.js routes to scan
Install Dragonfly
1
Open the Marketplace
Install Dragonfly from the VS Code Marketplace, or open Quick Open and run the install command.
2
Open Dragonfly
Click the Dragonfly icon in the Activity Bar to open the sidebar.
Send your first request
1
Create a request
Click New Request, or run Scan Workspace for Routes to pull requests out of your code. See Route discovery.
2
Fill in the details
Set the method and URL, then add any params, headers, body or auth you need.
3
Send it
Press Send. The response opens next to your code with its status, size and timing.
4
Save it
Save the request into a collection to keep it around and reuse it later.
Next steps
Route discovery
Turn your Express and Next.js routes into a ready-to-send collection.
Collections and environments
Organize requests and switch environments with one click.
Import your work
Bring over Postman, Thunder Client, Insomnia, HAR, OpenAPI or cURL.
Authentication
Add Bearer, API key or Basic auth with secrets kept private.