From 4414fbfc93a88ce222189da019398a812f72835f Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 25 May 2015 14:10:26 -0400 Subject: Fix typo --- docs/api-json-rpc.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-json-rpc.markdown b/docs/api-json-rpc.markdown index a126b8b5..156a552e 100644 --- a/docs/api-json-rpc.markdown +++ b/docs/api-json-rpc.markdown @@ -36,7 +36,7 @@ You can use an alternative HTTP header for the authentication if your server hav Configuration: 1. Define your custom header in your `config.php`: `define('API_AUTHENTICATION_HEADER', 'X-API-Auth');` -2. Encode the credentials in Base64, example with PHP `base64_encode('jsonrpc:19ffd9709d03ce50675c3a43d1c49c1ac207f4bc45f06c5b2701fbdf8929);` +2. Encode the credentials in Base64, example with PHP `base64_encode('jsonrpc:19ffd9709d03ce50675c3a43d1c49c1ac207f4bc45f06c5b2701fbdf8929');` 3. Test with curl: ```bash -- cgit v1.2.3