From 0ff5a3ab0dfe6d5b5e083fef528900a7e9d532af Mon Sep 17 00:00:00 2001 From: Dhruv Patel Date: Fri, 29 Jun 2018 16:37:50 +0530 Subject: [PATCH] Updated Docs --- docs/source/authentication.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/authentication.rst b/docs/source/authentication.rst index 1f56c93..e201795 100644 --- a/docs/source/authentication.rst +++ b/docs/source/authentication.rst @@ -7,8 +7,10 @@ To use your API key, you need only call ``\ATLPay\ATLPay::setSecretKey()`` with cURL Example ->>> curl -X POST \ ->>> https://api.atlpay.com/v2/tokens \ ->>> -H 'X-Api-Key: YOUR_API_KEY_HERE' +.. code-block:: bash + + curl -X POST \ + https://api.atlpay.com/v2/tokens \ + -H 'X-Api-Key: YOUR_API_KEY_HERE' All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail. \ No newline at end of file