Function: events.create_callback_endpoint

Creates a callback endpoint expecting the specified HTTP method.

For more information, see Wait using callbacks.

Arguments

Arguments
http_callback_method

string

The HTTP callback method. One of: POST(default), GET, HEAD, PUT, DELETE, OPTIONS, PATCH.

Returns

A map object with a url field that stores the URL of the created endpoint.

Raised exceptions

Exceptions
ValueError In case of invalid input values.
TypeError In case of invalid input types.