From 8924bbfb67e9f821c19421b78cd854404a00a8d0 Mon Sep 17 00:00:00 2001 From: Andrew Lyndem Date: Sun, 21 Aug 2022 13:08:53 +0530 Subject: [PATCH] Update API Docs.rst Grammatical and formatting corrections on line 18 and line 25 --- Developer Documentation/API Docs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Developer Documentation/API Docs.rst b/Developer Documentation/API Docs.rst index b120e53..c429814 100644 --- a/Developer Documentation/API Docs.rst +++ b/Developer Documentation/API Docs.rst @@ -15,14 +15,14 @@ HTTP Access Access to the HTTP API is restricted to valid API keys. An :code:`X-API-Key` HTTP header must be sent to indicate which API key is to be used with the request. The API key must match the remote IP of the connected HTTP client. The remote IP is checked as usual. If the osTicket server is sitting behind a reverse proxy, the original IP of the client will be retrieved from the :code:`X-Forwarded-For` header, if provided by your proxy. -Example: +**Example:** .. code-block:: bash X-API-Key: BA00B76BAA30F62E1940B46CC1C3C73C -Commandline Example with Curl: +**Command Line example with Curl:** .. code-block:: bash