Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
app-notes:status-sdk-influxdb [2024/01/29 13:00] – [status2influx script] dodenhoeftapp-notes:status-sdk-influxdb [2024/01/29 13:01] (current) – [status2influx script] dodenhoeft
Line 70: Line 70:
 *  Copyright (C) (2013-2024) NetModule AG, Switzerland *  Copyright (C) (2013-2024) NetModule AG, Switzerland
 */ */
 +
 url = "https://eu-central-1-1.aws.cloud2.influxdata.com/api/v2/write?org=01ad2d78e27c0e0d&bucket=netmodule&precision=ns"; url = "https://eu-central-1-1.aws.cloud2.influxdata.com/api/v2/write?org=01ad2d78e27c0e0d&bucket=netmodule&precision=ns";
 usr = ""; usr = "";
Line 83: Line 84:
  
  
-//define header with text/plain WORKS+//define header with valid influx API Token
 header = "Authorization: Token XansFOeVPLFvPkfGiboGW7RvXwaio1WmjodVklcbtOJPumgqH5KGhIQyHQuMlflL72bWk27liAybzE2EhA3ksQ=="; header = "Authorization: Token XansFOeVPLFvPkfGiboGW7RvXwaio1WmjodVklcbtOJPumgqH5KGhIQyHQuMlflL72bWk27liAybzE2EhA3ksQ==";