HTTP & JSON
httpPost
$httpPost[]
$httpPost sends a synchronous HTTP POST request to the provided URL. This is typically used to create resources, submit form data, or send data to an API endpoint. Always set the Content-Type header via $httpAddHeader when sending JSON bodies. The response body is stored internally and can be accessed with $httpResult; use $httpStatus to check the response status code.
Syntax
bdfd
$httpPost[url;body?]
Examples
Post Webhook Notification
$httpAddHeader[Content-Type;application/json]
$httpPost[https://api.example.com/webhooks;{"event":"member_join","user":"$username"}]
$title[HTTP POST Request]
$description[Payload dispatched. Status code: **$httpStatus**]
$color[#00BCD4]
$sendMessage[]