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
<p>For handling api requests, posts, puts patches etc with body data, we are now making that available on the request as both a <code>String</code> and <code>Buffer</code> incase you need images or videos uploaded.</p>
197
+
<table>
198
+
<thead>
199
+
<tr>
200
+
<th>key</th>
201
+
<th>type</th>
202
+
<th>value</th>
203
+
</tr>
204
+
</thead>
205
+
<tbody>
206
+
<tr>
207
+
<td>request.body</td>
208
+
<td>string</td>
209
+
<td>request body</td>
210
+
</tr>
211
+
<tr>
212
+
<td>request.url</td>
213
+
<td>string</td>
214
+
<td>processed uri</td>
215
+
</tr>
216
+
<tr>
217
+
<td>request.uri</td>
218
+
<td>object</td>
219
+
<td>parsed url information and query</td>
220
+
</tr>
221
+
<tr>
222
+
<td>request.serverRoot</td>
223
+
<td>string</td>
224
+
<td>local dir for publicly served data</td>
225
+
</tr>
226
+
</tbody>
227
+
</table>
228
+
<table>
229
+
<thead>
230
+
<tr>
231
+
<th>key</th>
232
+
<th>type</th>
233
+
<th>value</th>
234
+
</tr>
235
+
</thead>
236
+
<tbody>
237
+
<tr>
238
+
<td>uri.protocol</td>
239
+
<td>string</td>
240
+
<td>protocol of request</td>
241
+
</tr>
242
+
<tr>
243
+
<td>uri.host</td>
244
+
<td>string</td>
245
+
<td>hostname for domain</td>
246
+
</tr>
247
+
</tbody>
248
+
</table>
249
+
<p>uri.hostname |string| hostname for domain|
250
+
|uri.query |object| parsed querystring|
251
+
|uri.port |number| port request was received on|</p>
0 commit comments