Displaying 1 result from an estimated 1 matches for "loginapi".
2006 Apr 21
8
web services and dealing with before_filter
...#39;t already
logged in. Pretty standard stuff.
But, if I want to setup a web service, how do I set session data from the
client side through, say, an xmlrpc call using layered dispatching? I''ve tried
messing around with the block form of the web_service, and even tried setting
up a LoginApi and LoginService, but no luck.
I''d like to be able to do this:
require ''xmlprc/client''
rpc = XMLRPC::Client.new(''localhost'', ''http://localhost/webservice/api'', 3000)
rpc.call(''login.login'', user, password) # Set ses...