[Twisted-web] newb: Twisted and API for Web Services

Duncan McGreggor duncan.mcgreggor at gmail.com
Thu Mar 22 17:17:14 CST 2007


On 3/22/07, Ram Peters <rampeters at gmail.com> wrote:
>
> 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



More information about the Twisted-web mailing list