Displaying 1 result from an estimated 1 matches for "findfoobyid".
2006 Apr 21
8
web services and dealing with before_filter
...;'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 session data here
rpc.call(''foo.findFooById'', 2) # Go on my merry way
I googled around a bit and couldn''t quite find the answer I was looking for.
That, or I''m just not "getting it".
What''s the best/proper way to handle this?
Thanks,
Dan