suitegamer
suitegamer

Reputation: 421

Is There any way of Getting Form Information in App Engine in the GET Function

My question is rather simple...

In a def post(self) function for instance, I can use self.request.get to pull form information.

Is there any way I could accomplish the same thing within the 'def get(self)' function?

Thank you!!!

EDIT:

What I am trying to accomplish is sort of like facebook. If you could imagine a facebook wall, everyone has their own display pictures, which change dynamically. I'm trying to accomplish the same sort of thing... Too many variables would end up in the url I think if I choose to throw them in the url.

Upvotes: 0

Views: 37

Answers (1)

Paul Collingwood
Paul Collingwood

Reputation: 9116

 def get(self):
    id = self.request.get('id')

Where you have it encoded in the URL like

/play?id=some_id

Lots more info at webapp2 handlers

Upvotes: 1

Related Questions