For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sending HTTP notifications

This page describes how to send reports via the HTTP protocol

The most versatile reporting option is the ability to send messages via the HTTP(s) protocol. By default messages are sent as a form url encoded body in a request with the POST verb.

To use the option, you only need to provide the url to send to:

Configuring a HTTP notification

Besides the URL it is also possible to configure:

  • The message body and type (JSON is supported)

  • The HTTP verb used

  • Conditions on when to send emails

  • Conditions on what log elements to include

For details on how to customize the notification message, see the section on customizing message content.

New in 2.0.9.106

You can now specify multiple urls, using the options:

These two options greatly simplify sending notifications to multiple destinations. Additionally, the options make it possible to send both the form-encoded result in text format as well as in JSON format.

Retries and certificates

If the request fails, it is retried --send-http-retries times (default 3), waiting --send-http-retry-delay (default 1s) between attempts.

For servers with a self-signed certificate, use --send-http-accept-specified-ssl-hash=<sha1 hash> to accept that specific certificate. --send-http-accept-any-ssl-certificate accepts any certificate and should only be used for testing, and --send-http-ignore-revocation-failure ignores failures to check whether the certificate is revoked.

To send the progress of running operations instead of a report when they finish, see Sending live status reports.

Last updated

Was this helpful?