From 39b874e960aa5cf4ef910c156446e1869d711627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Thu, 10 May 2018 16:59:29 +0200 Subject: [PATCH] Change __API_KEY__ to $API_KEY in API docs for consistency --- api/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/README.md b/api/README.md index 2c86c69..0173b09 100644 --- a/api/README.md +++ b/api/README.md @@ -73,7 +73,7 @@ POST /quotes ``` ```BASH -curl --request POST --header 'X-Quotes-API-Key: __API_KEY__' --data 'id=28&date=2018-01-01&game=IRL&text=Cheese?' 'https://ladylilia.com/quotes/api/quotes' +curl --request POST --header 'X-Quotes-API-Key: $API_KEY' --data 'id=28&date=2018-01-01&game=IRL&text=Cheese?' 'https://ladylilia.com/quotes/api/quotes' ``` *Note: the quote is replaced if it exists already* @@ -92,7 +92,7 @@ PUT /quotes/:id ``` ```BASH -curl --request PUT --header 'X-Quotes-API-Key: __API_KEY__' --data 'date=2018-01-01&game=IRL&text=Cheese?' 'https://ladylilia.com/quotes/api/quotes/28' +curl --request PUT --header 'X-Quotes-API-Key: $API_KEY' --data 'date=2018-01-01&game=IRL&text=Cheese?' 'https://ladylilia.com/quotes/api/quotes/28' ``` *Note: the quote is created if it doesn't exist yet* @@ -110,5 +110,5 @@ DELETE /quotes/:id ``` ```BASH -curl --request DELETE --header 'X-Quotes-API-Key: __API_KEY__' 'https://ladylilia.com/quotes/api/quotes/28' +curl --request DELETE --header 'X-Quotes-API-Key: $API_KEY' 'https://ladylilia.com/quotes/api/quotes/28' ```