Accepting Cross Domain Requests In Sails.Js Builtin Rest API & Custom Controller Actions

In Sails.Js By Default the cross-domain API calls are restricted but you can enable/accept JSONP calls by changing jsonp: true in config/controllers.js file.Now you are free to make the built in Sails.js API calls from any other server to your Sails.js App.

Continue reading “Accepting Cross Domain Requests In Sails.Js Builtin Rest API & Custom Controller Actions”