Love API Tester
Test REST APIs for your PFE project with a cute/romantic theme using VS Code!
Features
- Command: Test API With Love ❤️
- Sequential prompts for endpoint, method, and body
- Sends HTTP requests using
node-fetch v2
- Cute messages and emojis in the output panel
- Handles errors and displays formatted JSON responses
Getting Started
1. Install dependencies
npm install node-fetch@2
npm install --save-dev @types/node-fetch
2. Compile TypeScript
npx tsc
3. Run Locally
- Press F5 in VS Code to launch the Extension Development Host.
- Open the Command Palette (Ctrl+Shift+P) and run Test API With Love ❤️.
4. Package for Marketplace
npm install -g vsce
vsce package
Project Structure
src/extension.ts: Main extension code
src/node-fetch.d.ts: Type declaration for node-fetch
package.json: Extension manifest
tsconfig.json: TypeScript config
.vscode/launch.json: Debug configuration
Enjoy sending love to your APIs! 💖
| |