Module http_post

Module http_post 

Source
Expand description

http_post:* stage implementation. HTTP POST action stage.

Stage identity syntax:

  • http_post:<url>

This stage forwards the input bytes unchanged while also POSTing the same bytes to <url> when policy allows side effects. It includes an Idempotency-Key header computed as sha256:<hex> of the input bytes.

Structs§

HttpPostStage
HTTP POST action stage.

Constants§

BYTEOR_HTTP_POST_ALLOWLIST_ENV
Environment variable containing a comma-separated URL prefix allowlist.
BYTEOR_HTTP_POST_TIMEOUT_ENV
Environment variable overriding the HTTP POST timeout.
HTTP_POST_PREFIX
Prefix for HTTP POST stage keys.

Functions§

parse_http_post_url
Try to parse an http_post:<url> stage key.