sails
Version:
API-driven framework for building realtime apps, using MVC conventions (based on Express and Socket.io)
25 lines (14 loc) • 312 B
Markdown
# `req.query`
A dictionary containing the parsed query-string, defaulting to `{}`.
### Usage
```usage
req.query;
```
### Example
If the request is `GET /search?q=mudslide`:
```js
req.query.q
// -> "mudslide"
```
<docmeta name="displayName" value="req.query">
<docmeta name="pageType" value="property">