Loading...
Loading...
Test REST API endpoints with all HTTP methods, custom headers, and formatted responses
Share it with friends and colleagues—it helps others discover free tools they need.
const fetch = require('node-fetch'); // or use native fetch in Node 18+
const url = '';
const options = {
method: 'GET',
headers: {}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log('Status:', response.status);
console.log('Data:', data);
} catch (error) {
console.error('Error:', error);
}