A Waterline/Sails adapter for RESTful APIs, enabling Sails.js applications to interact with external HTTP services using the standard Waterline ORM interface. Version 0.1.1 (v0.1.x series) is a complete rewrite, not backwards compatible with 0.0.x. It relies on SuperAgent for HTTP requests and supports configurable before/after hooks for custom request/response transformation. Active development appears stalled; last release in 2015.
npm install sails-restNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows minimal Sails connection config to use sails-rest adapter with a REST API.
Update configuration to match new format; see README for hooks and connection options.
Either set hooks.merge: true or add a custom before hook that assigns config.endpoint.
Consider using a maintained adapter like sails-hook-rest or direct HTTP calls.
Set hooks.merge: true in connection config, or add a before hook that defines config.endpoint.
Run 'npm install sails-rest' in your Sails project directory.