【发布时间】:2011-08-12 00:39:24
【问题描述】:
我有
class Auth(webapp.RequestHandler):
def get(self,username,password):
self.response.out.write("auth" + self.request.get("username"))
我的网址的结构是:
/api/auth/?username=xxxx&password=xxxx
如何在我的处理程序脚本中映射此 URL?
【问题讨论】:
-
您有机会使用 POST 代替吗? GET 中的密码不是最佳实践。 (额外的功劳:在网络上使用比普通密码更好的东西)
标签: python google-app-engine url mapping