View our GitHub

Please visit sails-docs on GitHub to view documentation on your mobile device.

Edit Page


An object containing text parameters from the parsed request body, defaulting to {}.

By default, the request body can be url-encoded or stringified as JSON. Support for other formats, such as serialized XML, is possible using the middleware configuration.




  • If a request contains one or more file uploads, only the text parameters sent before the first file parameter will be available in req.body.

Is something missing?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails-docs repo. Once we merge it, the changes will be reflected on the website the next time it is deployed.


We wrote a book!

Get early access to the book
with promotion code: mcneildoc

Get the Book