From 40a3ba6203593973d6a0e0f092c41bdd86ebd03a Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 1 Aug 2016 21:15:30 +0200 Subject: [PATCH] Improved rest documentation --- data/docs/rest.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/docs/rest.md b/data/docs/rest.md index 35f18e2a..bbc9a565 100644 --- a/data/docs/rest.md +++ b/data/docs/rest.md @@ -13,11 +13,13 @@ Statuses: ## Authentication -[TODO] +Once you have called to the authentication endpoint for the first time (see below) yopu will get an authentication token. + +You will have to send that token in the `X-Auth-Token` header on any later request or you will get an authentication error. ## Language -In order to set the application language, you have to pass it by using the Accept-Language header. +In order to set the application language, you have to pass it by using the `Accept-Language` header. If not provided or provided language is not supported, english (en_US) will be used.