mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add docs for verify_ssl configuration added to rest_command and switch.rest (#8205)
This commit is contained in:
parent
43e8536d66
commit
a8cd28c5cf
@ -67,6 +67,11 @@ service_name:
|
||||
description: Content type for the request.
|
||||
required: false
|
||||
type: string
|
||||
verify_ssl:
|
||||
description: Verify the SSL certificate of the endpoint.
|
||||
required: false
|
||||
type: boolean
|
||||
default: true
|
||||
{% endconfiguration %}
|
||||
|
||||
## {% linkable_title Examples %}
|
||||
@ -85,6 +90,7 @@ rest_command:
|
||||
accept: 'application/json, text/html'
|
||||
payload: '{"profile":{"status_text": "{{ status }}","status_emoji": "{{ emoji }}"}}'
|
||||
content_type: 'application/json; charset=utf-8'
|
||||
verify_ssl: true
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
|
@ -67,7 +67,7 @@ payload:
|
||||
required: false
|
||||
type: string
|
||||
verify_ssl:
|
||||
description: Verify the certification of the endpoint.
|
||||
description: Verify the SSL certificate of the endpoint.
|
||||
required: false
|
||||
type: boolean
|
||||
default: True
|
||||
|
@ -72,6 +72,11 @@ headers:
|
||||
description: The headers for the request.
|
||||
required: false
|
||||
type: list, string
|
||||
verify_ssl:
|
||||
description: Verify the SSL certificate of the endpoint.
|
||||
required: false
|
||||
type: boolean
|
||||
default: true
|
||||
{% endconfiguration %}
|
||||
|
||||
<p class='note warning'>
|
||||
@ -98,6 +103,7 @@ switch:
|
||||
is_on_template: '{{ value_json.is_active }}'
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
verify_ssl: true
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user