Tools API Tester
Test the network tools API endpoints
API Testing
Use this interface to test the tools API endpoints
Tools API Tester
Test the network tools API endpoints
Setup Instructions
Prerequisites
- Node.js installed (version 14 or higher)
- System tools installed:
sudo pacman -S bind-tools dnsutils traceroute iproute2 net-tools
Starting the Server
- Navigate to the server directory:
cd /workspace/breath-net-aid/server
- Start the main server:
npm run dev
NGINX Configuration
Add the following to your NGINX server configuration:
location /api/tools {
proxy_pass http://127.0.0.1:5000/api/v1/tools;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}Testing
Use the interface above to test the API endpoints. Results will appear in the results box.