mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Addressing more comments
tests do assertion on request data and headers doc fixed
This commit is contained in:
@@ -88,7 +88,9 @@ Internally function receives data in following format:
|
||||
|
||||
```json
|
||||
{
|
||||
"body": "{\"some\": \"input\"}",
|
||||
"body": {
|
||||
"some": "data"
|
||||
},
|
||||
"headers": {
|
||||
"yo": ["dawg"]
|
||||
}
|
||||
@@ -102,7 +104,7 @@ Function's output format should have following format:
|
||||
"status_code": 200,
|
||||
"body": "...",
|
||||
"headeres": {
|
||||
"A": "b"
|
||||
"A": ["b"]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user