From 247b7a11355d34d3be8036cbe7847c2c130e0c21 Mon Sep 17 00:00:00 2001 From: Chteufleur Date: Mon, 11 Jul 2016 21:13:42 +0200 Subject: [PATCH] Escape character in the readme example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 77b473b..3de54d8 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ To ask authorization, just send an HTTP request to the path ``/auth`` with param Example: ``` -GET /auth?jid=user@host/resource&domain=example.org&method=POST&transaction_id=WhatEverYouWant&timeout=120 HTTP/1.1 +GET /auth?jid=user%40host%2fresource&domain=example.org&method=POST&transaction_id=WhatEverYouWant&timeout=120 HTTP/1.1 ``` This will send a request to the given JID. If the user accept, the server will return HTTP code 200, otherwise it will return HTTP code 401.