The SailsJS api will return JSON but not JSONP by default to enable JSONP do the following.
Open config/blueprints.js
Add the following line.
jsonp: true
The SailsJS api will return JSON but not JSONP by default to enable JSONP do the following.
Open config/blueprints.js
Add the following line.
jsonp: true