This is a simple Node.js script that pings a specified endpoint at a given frequency using the node-fetch
library.
-
Clone the repository:
git clone https://github.com/your-username/ping-machine.git
-
Install dependencies:
npm install
-
Run the script:
node ping-machine.js
-
Follow the prompts to enter the URL you wish to ping and the frequency of the ping rate in milliseconds.
- Node.js installed
- Internet connection to ping the specified URL
- Modify the
endpointUrl
andpayload
variables in the script to customize the endpoint and payload for your use case.
This project is licensed under the MIT License - see the LICENSE file for details.