From e70e8b189a8184e931cfd5bf75806db7b33f820f Mon Sep 17 00:00:00 2001 From: Mike Megally Date: Thu, 20 Apr 2017 01:24:16 -0700 Subject: [PATCH] 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 --- source/_components/rest_command.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_components/rest_command.markdown b/source/_components/rest_command.markdown index f637155ec2f..ce2b1f6f15c 100644 --- a/source/_components/rest_command.markdown +++ b/source/_components/rest_command.markdown @@ -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.