JavaScript API Data Fetch Assistance
Budget: ₹600 – ₹1,500 INR
I have an internal company API that is secured with a simple API-key header. My goal is to run a short JavaScript script—Node.js is fine—that calls one endpoint, retrieves the response, and prints it to the console exactly as JSON .
The core of the task is:
• Configure the request with the provided API key
• Make the GET call to the endpoint I supply once the project starts
• Parse and output the raw JSON response, handling any errors gracefully
A small README explaining how to install any required packages (axios, node-fetch, etc.) and how to execute the script should accompany the code. If you can deliver a clean, well-commented snippet and quick setup notes, that will complete the job.
The core of the task is:
• Configure the request with the provided API key
• Make the GET call to the endpoint I supply once the project starts
• Parse and output the raw JSON response, handling any errors gracefully
A small README explaining how to install any required packages (axios, node-fetch, etc.) and how to execute the script should accompany the code. If you can deliver a clean, well-commented snippet and quick setup notes, that will complete the job.