Mercurial > prosody-modules
comparison mod_rest/README.markdown @ 4069:b89f381abaa9
mod_rest/README: Remove last trace of older credential option
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 20 Jul 2020 22:32:22 +0200 |
parents | 504a0cd5f883 |
children | 7191d4638393 |
comparison
equal
deleted
inserted
replaced
4068:504a0cd5f883 | 4069:b89f381abaa9 |
---|---|
87 | 87 |
88 TL;DR: Set this webhook callback URL, get XML `POST`-ed there. | 88 TL;DR: Set this webhook callback URL, get XML `POST`-ed there. |
89 | 89 |
90 ``` {.lua} | 90 ``` {.lua} |
91 Component "rest.example.net" "rest" | 91 Component "rest.example.net" "rest" |
92 rest_credentials = "Bearer dmVyeSBzZWNyZXQgdG9rZW4K" | |
93 rest_callback_url = "http://my-api.example:9999/stanzas" | 92 rest_callback_url = "http://my-api.example:9999/stanzas" |
94 ``` | 93 ``` |
95 | 94 |
96 To enable JSON payloads set | 95 To enable JSON payloads set |
97 | 96 |