22 Mar
2007
22 Mar
'07
11:17 p.m.
On 3/22/07, Ram Peters
Question1: How do I distinguish the request in Twisted web for each uri and call the appropriate class to handle the request, and response back a xml data?
Question2: It will be listening on port 8080. How does this get translated to url?
For example, my URI as follows: http://api.example.org/auto/Ford http://api.example.org/auto/Chevy http://api.example.org/auto/add http://api.example.org/auto/delete http://api.example.org/dealer/inventory http://api.example.org/dealer/invoice
Thank you
Also, be sure you are using the right tool for the right job for the right reasons :-) Read this page for more direction/information: http://twistedmatrix.com/trac/wiki/WebDevelopmentWithTwisted