mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Fmt and docs
This commit is contained in:
@@ -78,9 +78,7 @@ Fn accepts request data of the following format:
|
||||
|
||||
```json
|
||||
{
|
||||
"body": {
|
||||
"some": "input"
|
||||
}
|
||||
"some": "input"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -88,12 +86,11 @@ Internally function receives data in following format:
|
||||
|
||||
```json
|
||||
{
|
||||
"body": "{\"some\":\"data\"}\n",
|
||||
"body": "{\"some\":\"input\"}\n",
|
||||
"headers": {
|
||||
"yo": ["dawg"]
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Function's output format should have following format:
|
||||
|
||||
Reference in New Issue
Block a user