Typically, it should go something like this,
class MainPage(webapp.RequestHandler):
def get(self):
data = cgi.escape(self.request.get('data'))
fishfin wrote:
> I'm coming over from php and am trying to figure out how to do
> something.
>
> In php you can put data in the user's address bar (index.php?
> data=somedata) and then get it from the address bar really easily (you
> just use $_GET and $_REQUEST), so I was wondering what the equivalent
> is in python?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---