From 24d04f84744129fa1efb405e19ede54bf8b9fbc6 Mon Sep 17 00:00:00 2001 From: Ivan Bessarabov Date: Thu, 11 Mar 2021 14:48:36 +0300 Subject: [PATCH] Api endpoint is with slash at the end (#846) ``` $ curl -H "Content-Type: application/json" -H "Authorization: Bearer SECRET" http://localhost:8123/api; echo '' 404: Not Found $ curl -H "Content-Type: application/json" -H "Authorization: Bearer SECRET" http://localhost:8123/api/; echo '' {"message": "API running."} $ ``` --- docs/api/rest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/rest.md b/docs/api/rest.md index 9452f04e..01e04637 100644 --- a/docs/api/rest.md +++ b/docs/api/rest.md @@ -61,7 +61,7 @@ Successful calls will return status code 200 or 201. Other status codes that can The API supports the following actions: - + Returns a message if the API is up and running.