Authentication using xmlrpc

86 views
Skip to first unread message

Abhishek Gupta

unread,
Jun 7, 2011, 4:25:16 PM6/7/11
to web...@googlegroups.com
Hello,

I have an application in web2py. To create the command line interface of the gui (web-interface), I want to use xmlrpc service. For example if I have following function :

@auth.requires_login
def example():
    temp = request.args[0]
    //do something on temp
    return dict(temp=temp)

How can I call this function in xmlrpc, so that I make minimal changes in my original function definition (I require to do authentication, somehow send the request variable, and have some returned data structure).

Anthony

unread,
Jun 7, 2011, 5:05:38 PM6/7/11
to web...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages