title: How to make a request to sails.js controller without using sails.io client helper methods
body: <p>I'm developing an application using sails in which I have to connect from external sources. they can be IOS or android mobile applications or simply an external html client.</p>
  
  <p>In that regard I cant't use sails helper methods to make web sockets request be handled by controller actions.</p>
  
  <p>as I read through the sails.io client file i figured I could just use.</p>
  
  <pre><code>socket.emit('get' , {url:'/tomato' , data:{message:'pony'}} , function(response){});
  </code></pre>
  
  <p>to mimick the sails socket.get() function but it is not working.</p>
  
  <p>sails log in terminal shows the following message : No session data returned, and an error was encountered saving session data for the first time: undefined.</p>