1
0

Update to v1.1.8

This commit is contained in:
2022-01-16 17:24:18 +01:00
parent cbf41083e5
commit 45c96a4048
3 changed files with 3 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ An unlimited number of functions getting [`req`](#req-object) and [`res`](#res-o
Key | Type | Description
--------- | ------------------- | -----------
`body` | `object` / `string` | Only available if method is `POST`, `PUT` or `PATCH`. Contains either the received body string or a parsed object if valid JSON was sent.
`body` | `object` / `string` | Only available if method is `POST`, `PUT`, `PATCH` or `DELETE`. Contains either the received body string or a parsed object if valid JSON was sent.
`headers` | `object` | Object containing request headers
`method` | `string` | HTTP request method
`params` | `object` | Object containing all parameters defined in the url string