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:
Mike Megally 2017-04-20 01:24:16 -07:00 committed by Fabian Affolter
parent 4015a67e41
commit e70e8b189a

View File

@ -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.