diff --git a/api.py b/api.py index 9850f9d07a51ff77f82621bec270b485eed83653..2e40d1e9283e613c368d3e8eb20fc2469ac07ea3 100755 --- a/api.py +++ b/api.py @@ -31,6 +31,7 @@ import collections_ routes = [ webapp2.Route(r'/api', core.Core), webapp2_extras.routes.PathPrefixRoute(r'/api', [ + webapp2.Route(r'/download', core.Core, handler_method='download', methods=['GET', 'POST'], name='download'), webapp2.Route(r'/download/<fn>', core.Core, handler_method='download', methods=['GET', 'POST'], name='download'), webapp2.Route(r'/sites', core.Core, handler_method='sites', methods=['GET']), webapp2.Route(r'/search', core.Core, handler_method='search', methods=['GET', 'POST']),