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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -113,8 +113,8 @@ Here's all the keys that are currently available in the request object:
113
113
The response parameter is used to send a response back to API gateway. This method requires a parameter object to specify the body, headers and http status code.
114
114
115
115
| Key | Type | Value | Default
116
-
|---|---|---
117
-
| params | Object | Parameters object | {}|
116
+
|---|---|---|---
117
+
| params | Object | Parameters object | {}
118
118
| params.statusCode | integer | The HTTP status code | 200
119
119
| params.headers | Object | Any headers to be returned in the response. | {}
120
120
| params.body | mixed | Your response body, whatever is specified will be `JSON.stringify`'d. If body is not set the body will be defined as the params object. | `JSON.stringify(params)`
0 commit comments