Reputation: 69
I tried a number of times googling and searching over whole internet, but didn't find anything relative. I just want to get the GET parameters of the current page. just like if we get $query = $_GET['q'] when we write into that page in PHP. Actually after getting this result I want to use decision making statements.
Upvotes: 0
Views: 368
Reputation: 62
I think that this is what you are looking for:
https://developers.google.com/appengine/docs/python/tools/webapp/requestclass
Upvotes: 0
Reputation: 9116
URL: example.com?color="green"&flavour="mango"
color_from_url = self.request.get('color')
flavour_from_url = self.request.get('flavour')
Is that what you mean? If not, can you give an example of the source data (the URL) and the data you want out of it.
Upvotes: 2