This commit is contained in:
Frédéric Guillot 2015-05-25 14:10:26 -04:00
parent 03f89e2899
commit 4414fbfc93
1 changed files with 1 additions and 1 deletions

View File

@ -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