Add import for flask.request
@@ -24,7 +24,7 @@ else:
import httplib
from httplib import OK
import MySQLdb
-from flask import send_from_directory, make_response, session
+from flask import send_from_directory, make_response, session, request
from flask_restful_swagger import swagger
from flask_restful import Api
from flask_security import login_required, http_auth_required
