View our GitHub

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

Edit Page



This folder holds the logic for issuing server responses to your clients.

When you generate a new Sails project, we include some of the more common ones for you. Feel free to edit them to suit your needs. You can also create a custom response using our sails-generate-custom-response generator.

See the Response section of Reference Documentation for more info.

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 immediately reflected on the website.