ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
webhook.h File Reference

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

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

Go to the source code of this file.

Detailed Description

Outbound webhooks / IFTTT (PC_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 PC_ENABLE_HTTP_CLIENT to send; without it the API still compiles but pc_webhook_post() returns -1.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file webhook.h.