Commits

Miki Tebeka committed 398dd73

handle post

Comments (0)

Files changed (1)

         template = get_template('index.html')
         self.response.out.write(template.render())
 
+    def post(self):
+        url = self.request.get('url')
+        self.response.out.write('You asked to shorten: {0}'.format(url))
+
 app = webapp.WSGIApplication([
     ('/', Home),
 ], debug=True)