BarryServer : Git

All the code for all my projects
// BarryServer : Git / IRCWebHooks / commit / 0602b6c8f1d20873230ff4eefe1b91b3cfd2df5a / README

// Related

IRCWebHooks

Barry Updating README 0602b6c (3 years, 3 months ago)
diff --git a/README b/README
index bb181cf..e07e314 100644
--- a/README
+++ b/README
@@ -34,4 +34,4 @@ Send the webhook to the channel name, e.g. `https://webhook.barryserver.net/chan
 The bot reads from POST data, specifically the data sent in `content`.
 This content is plaintext, not URL encoded.
 
-So `curl -k -X POST -d 'content=Hello, World!' https://webhook.barryserver.net/@Barry` will send `Hello, World!` directly to the user with the nick `Barry`.
+So, assuming your WEB_AUTH is set to "user:password", `curl -k -X POST -u user:password -d 'content=Hello, World!' https://webhook.barryserver.net/@Barry` will send `Hello, World!` directly to the user with the nick `Barry`.