GET and POST are just methods. so you can just call POST()
##########################
import web
urls = ("/", "hello")
app = web.application(urls, globals())
class hello:
def GET(self):
return self.POST()
def POST(self):
return 'Hello, POST world!'
if __name__ == "__main__":
app.run()
On Wed, Jan 28, 2009 at 8:00 PM, [email protected] <[email protected]> wrote:
> is it possible to redirect a URL as a POST method instead of GET?
>
>
> thanks a lot!!
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---