changeset 5159:51f7d72a56c2

mod_rest/README: Words about bearer tokens The examples are inconsistent and confusing wrt authentication, hopefully these words help a bit.
author Kim Alvefur <zash@zash.se>
date Wed, 25 Jan 2023 20:39:13 +0100
parents ca7feb293d55
children 8474a3b80200
files mod_rest/README.markdown
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rest/README.markdown	Mon Jan 16 15:54:40 2023 +0100
+++ b/mod_rest/README.markdown	Wed Jan 25 20:39:13 2023 +0100
@@ -39,7 +39,8 @@
 ## OAuth2
 
 [mod_http_oauth2] can be used to grant bearer tokens which are
-accepted by mod_rest.
+accepted by mod_rest.  Tokens can be passed to `curl` like
+`--oauth2-bearer dmVyeSBzZWNyZXQgdG9rZW4K` as in some examples below.
 
 ## Sending stanzas