This commit is contained in:
Fabian Affolter 2015-10-23 18:38:30 +02:00
parent eca5731d4c
commit 26113b2f01

View File

@ -10,9 +10,9 @@ footer: true
---
<img src='/images/supported_brands/rest.png' class='brand pull-right' />
The rest sensor platform is consuming a give endpoint which is exposed by a [RESTful API](https://en.wikipedia.org/wiki/Representational_state_transfer) of a device, an application, or a web service. The sensor has support for GET and POST requests.
The rest sensor platform is consuming a given endpoint which is exposed by a [RESTful API](https://en.wikipedia.org/wiki/Representational_state_transfer) of a device, an application, or a web service. The sensor has support for GET and POST requests.
To enable this sensor, add the following lines to your `configuration.yaml` for a GET request:
To enable this sensor, add the following lines to your `configuration.yaml` file for a GET request:
```yaml
# Example configuration.yaml entry