You have (at least) 2 options:
1) Use the regexp in webapp to extract them, ie, your URL mapping:
....
("/process/([^/]+)/([^/]+)",MyProcessHandler),
...
Then MyProcessHandler.get() will get called with two extra arguments,
one set to each of the groups in the regexp
2) Parse path_info yourself. It's handed in as part of the webapp at
self.request.path_info
On Mar 6, 10:04 am, kshah <[email protected]> wrote:
> I wanted to usehttp://xyz.appspot.com/process/chicago/il
> URL instead ofhttp://xyz.appspot.com/process?city=chicago&state=il
>
> How do I convert these path values as GET parameters?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---