Skip to end of banner
Go to start of banner

addWebhookResponseHeader

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

Adds an HTTP header to the response that will be returned to the Webhook caller.

Parameters

Return Type

None

Example

....
// webhook logic
....
//setting a custom HTTP header to the webhook response:
HttpHeader header = httpCreateHeader("Content-Type", "application/javascript");
addWebhookResponseHeader(header);

//returning success
return true, 200;

See also

  • No labels