From c61f94947ad4637931169f144f0be93cbd15a5ce Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 13 Mar 2017 21:07:51 +0200 Subject: [PATCH] Working on docs --- docs/api.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 50d5cff165dd..f54a12795529 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -14,7 +14,9 @@ Reading Data Here’s an example of reading the list of clients using cURL from the command line. - ``curl -X GET ninja.dev/api/v1/clients -H "X-Ninja-Token: TOKEN" -H "X-Requested-With: XMLHttpRequest"`` +.. code-block:: shell + + curl -X GET ninja.dev/api/v1/clients -H "X-Ninja-Token: TOKEN" -H "X-Requested-With: XMLHttpRequest" For invoices, quotes, tasks and payments simply change the object type. ie,