Skip to content
Snippets Groups Projects
Commit a4bc353d authored by Christophe de Vienne's avatar Christophe de Vienne
Browse files

webhook: document custom headers

parent e01b39b6
No related branches found
No related tags found
No related merge requests found
Pipeline #35475 failed
...@@ -52,7 +52,18 @@ ...@@ -52,7 +52,18 @@
- "message-content": post the messages raw contents, one by one, with the - "message-content": post the messages raw contents, one by one, with the
configured content-type. The reply must be empty with a 204 status code. configured content-type. The reply must be empty with a 204 status code.
- ``http.webhook.headers``: Add custom headers to the request
The value is a multi-line string, each line is a single header formatted as ``Key: Value``.
Example:
.. code:: http
xbusctl actor config set <actor name> http.webhook.headers="
Authorization: Bearer AJSONWEBTOKEN
Accept-Language: fr-FR
"
.. versionadded:: 3.3.0 .. versionadded:: 3.3.0
- The *http.webhook.payload-type* parameter. - The *http.webhook.payload-type* parameter.
...@@ -55,7 +66,8 @@ ...@@ -55,7 +66,8 @@
.. versionadded:: 3.3.0 .. versionadded:: 3.3.0
- The *http.webhook.payload-type* parameter. - The *http.webhook.payload-type* parameter.
- The *http.webhook.headers* parameter.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment