Update README.md

This commit is contained in:
Attila Magyar 2021-07-01 11:57:37 +02:00 committed by GitHub
parent 50931039b7
commit 54431c1f48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -437,6 +437,15 @@ For example:
'http://myhost.site/expense' http-post 'http://myhost.site/expense' http-post
``` ```
You can also specify HTTP headers by adding a `headers` key to the map. In this case you should put the body under the `content' key.
```forth
#[
'headers' #[ <key> <value> ]#
'content' #[ .. ]#
]#
```
### Examples ### Examples
#### Controlling a Daikin Air Conditioner #### Controlling a Daikin Air Conditioner