mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 04:16:48 +00:00
Updated the docs for rest_command (#2430)
* Updated the docs for rest_command * Added the optional content_type config value, used to specify the request content type. * Remove default content type of 'text/plain' Should default to current behavior - no header
This commit is contained in:
parent
4015a67e41
commit
e70e8b189a
@ -35,6 +35,7 @@ Configuration variables:
|
||||
- **username** (*Optional*): The username for HTTP authentication.
|
||||
- **password** (*Optional*): The password for HTTP authentication.
|
||||
- **timeout** (*Optional*): Timeout for requests. Defaults to 10 seconds.
|
||||
- **content_type** (*Optional*): Content type for the request.
|
||||
|
||||
The commands can be dynamic, using templates to insert values of other entities. Service call support variables for template stuff.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user