Possible Duplicate:
Using mappings in CherryPy
How would I map a url regEx such as /data/[A-Z].txt to a resource in cherrypy? Is there an simple example somewhere? I don’t get the docs here.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use a RoutesDispatcher
You might test this with a browser on http://127.0.0.1:5000/surbiton
You can test the POST command with curl:
There is the documentaton from the Routes project.
Or this example from appmecha.