v8.1.0
body automatically populated on request object to allow better POST PATCH PUT etc
more suitable for faster API development
doc updates for request object
key | type | value |
---|---|---|
request.body | string | request body |
request.url | string | processed uri |
request.uri | object | parsed url information and query |
request.serverRoot | string | local dir for publicly served data |
key | type | value |
---|---|---|
uri.protocol | string | protocol of request |
uri.host | string | hostname for domain |
uri.hostname | string | hostname for domain |
uri.query | object | parsed querystring |
uri.port | number | port request was received on |