mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Cleaning up code
Getting rid of request url, call id, method: all of them are redundant and available through env
This commit is contained in:
@@ -62,7 +62,7 @@ The header keys and values would be populated with information about the functio
|
||||
|
||||
Pros:
|
||||
|
||||
* Streamable
|
||||
* Supports streaming
|
||||
* Common format
|
||||
|
||||
Cons:
|
||||
@@ -78,21 +78,10 @@ An easy to parse JSON structure.
|
||||
|
||||
```json
|
||||
{
|
||||
"request_url": "http://....",
|
||||
"call_id": "abc123",
|
||||
"method": "GET",
|
||||
"body": {
|
||||
"some": "input"
|
||||
}
|
||||
}
|
||||
{
|
||||
"request_url":"http://....",
|
||||
"call_id": "edf456",
|
||||
"method": "GET",
|
||||
"body": {
|
||||
"other": "input"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Pros:
|
||||
|
||||
Reference in New Issue
Block a user