From cc61c2581f6c754fcf9f5fe7adca2d10f018d597 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 1 Feb 2016 10:58:00 +0100 Subject: [PATCH] Add sample --- source/developers/rest_api.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/developers/rest_api.markdown b/source/developers/rest_api.markdown index 37482cdbf13..3537acc9826 100644 --- a/source/developers/rest_api.markdown +++ b/source/developers/rest_api.markdown @@ -226,6 +226,13 @@ Retrieve all errors logged during the current session of Home Assistant as a pla 15-12-20 11:04:36 homeassistant.components.alexa: Received unknown intent HelpIntent ``` +Sample `curl` command: + +```bash +$ curl -X GET -H "x-ha-access: YOUR_PASSWORD" \ + http://localhost:8123/api/error_log +``` + #### {% linkable_title POST /api/states/<entity_id> %} Updates or creates the current state of an entity.