Ana içeriğe geç

Custom HTTP notification

The Custom HTTP provider sends notification payloads to a URL you specify (GET or POST).

Configure the provider

ProvidersAdd. Set Category to Notification, Type to Custom HTTP. Fill in:

FieldDescription
MethodGET or POST
Parameter nameQuery (GET) or body (POST) parameter name for the message
ContentMessage content or template
EndpointFull HTTP(S) URL to call
Chat IDOptional identifier

custom_http_provider

When you use Send Notification Message, Casdoor sends a request to Endpoint with the message in the chosen parameter. Example:

custom_http_request