Skip to main content
. 2024 Jun 8;24(12):3735. doi: 10.3390/s24123735
Algorithm 4 Send Telemetry Request
  • function SendTelemetryRequest(event_type, timestamp, x (optional), y (optional))

  •     Define path as ‘/track_telemetry’

  •     Construct data as a JSON string with event_type, timestamp, x, and y

  •     Define headers with necessary information including host, session, and browser details

  •     Call send_post_request with path, data, and headers

  • end function