DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
webhook.h File Reference

Outbound webhooks / IFTTT (DETWS_ENABLE_WEBHOOK). More...

#include "ServerConfig.h"
#include <stddef.h>

Go to the source code of this file.

Detailed Description

Outbound webhooks / IFTTT (DETWS_ENABLE_WEBHOOK).

Builds an IFTTT Maker webhook URL and its value1/value2/value3 JSON payload (pure, host-tested), and fires them - or any JSON to any URL - via the outbound http_client (a POST). Lets the device push an event to IFTTT, a Slack/Discord incoming webhook, or your own REST endpoint. Needs DETWS_ENABLE_HTTP_CLIENT to send; without it the API still compiles but detws_webhook_post() returns -1.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file webhook.h.