# HG changeset patch # User Kim Alvefur # Date 1674675553 -3600 # Node ID 51f7d72a56c298eb8832580da92cf1d8a6b9975d # Parent ca7feb293d55f96fd7b720efc07814972dfa29e4 mod_rest/README: Words about bearer tokens The examples are inconsistent and confusing wrt authentication, hopefully these words help a bit. diff -r ca7feb293d55 -r 51f7d72a56c2 mod_rest/README.markdown --- 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