InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > HTTPNotificationEndpoint
Signature:
type HTTPNotificationEndpoint = NotificationEndpointBase & {
url: string;
username?: string;
password?: string;
token?: string;
method: 'POST' | 'GET' | 'PUT';
authMethod: 'none' | 'basic' | 'bearer';
contentTemplate?: string;
headers?: any;
};
References: NotificationEndpointBase