mirror of
https://github.com/zeroflag/fcl.git
synced 2025-01-11 20:01:10 +01:00
Update README.md
This commit is contained in:
parent
50931039b7
commit
54431c1f48
1 changed files with 9 additions and 0 deletions
|
@ -437,6 +437,15 @@ For example:
|
|||
'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
|
||||
|
||||
#### Controlling a Daikin Air Conditioner
|
||||
|
|
Loading…
Reference in a new issue