Hello,

I'm using service.run to call a function from a remote client. I'm
able to call the function with strings and integers, but I would like
to pass a date string. I've tried uuencoding the datestring, but the
response I'm getting is Invalid Function.

My question then: How can I pass a date value such as:

/myApp/foo/call/run/create/fred/2009-04-23+00%3A00%3A00/

@service.run
def foo(name,birthdate):
    parseDate(birthdate)
    insert(name, birthdate)
    return ok

Thanks!
Dave

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to