This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const https = require('https'); | |
// The URL to send the request to | |
const url = 'https://192.168.2.205:21487/rNKTonIGZbq_jmFddv2oAg/metrics/transfer'; | |
// Variable to store the last bytesTransferredByUserId state | |
let previousData = null; | |
// Function to send the request and process the response | |
function fetchData() { |
OlderNewer