Skip to content

Instantly share code, notes, and snippets.

View ashap5's full-sized avatar

ashap5

  • 13:05 (UTC +02:00)
View GitHub Profile
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() {