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:
Denis Makogon
2017-09-26 15:21:58 +03:00
parent b6b9b55ca9
commit ecaa5eefbf
4 changed files with 14 additions and 51 deletions

View File

@@ -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: