You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,14 +171,14 @@ The `REQUEST` object contains a parsed and normalized request from API Gateway.
171
171
-`version`: The version set at initialization
172
172
-`params`: Dynamic path parameters parsed from the path (see [path parameters](#path-parameters))
173
173
-`method`: The HTTP method of the request
174
-
-`path`: The path passed in by the request including `base` and `prefix`es
174
+
-`path`: The path passed in by the request including the `base` and any `prefix` assigned to routes
175
175
-`query`: Querystring parameters parsed into an object
176
176
-`headers`: An object containing the request headers (properties converted to lowercase for HTTP/2, see [rfc7540 8.1.2. HTTP Header Fields](https://tools.ietf.org/html/rfc7540))
177
177
-`rawHeaders`: An object containing the original request headers (property case preserved)
178
178
-`body`: The body of the request.
179
-
- If the `Content-Type` header is `application/json`, it will attempt to parse the request using `JSON.parse()`
180
-
- If the `Content-Type` header is `application/x-www-form-urlencoded`, it will attempt to parse a URL encoded string using `querystring`
181
-
- Otherwise it will be plain text.
179
+
- If the `Content-Type` header is `application/json`, it will attempt to parse the request using `JSON.parse()`
180
+
- If the `Content-Type` header is `application/x-www-form-urlencoded`, it will attempt to parse a URL encoded string using `querystring`
181
+
- Otherwise it will be plain text.
182
182
-`route`: The matched route of the request
183
183
-`requestContext`: The `requestContext` passed from the API Gateway
184
184
-`namespace` or `ns`: A reference to modules added to the app's namespace (see [namespaces](#namespaces))
0 commit comments