Ver código fonte

Changed the sample display of request parameters in the index routing method

Roland Haroutiounian 8 anos atrás
pai
commit
9d591399e4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      lodel.py

+ 1
- 1
lodel.py Ver arquivo

@@ -13,7 +13,7 @@ app = Flask(__name__)
13 13
 def index(path):
14 14
     url_elements = path.split('/')
15 15
     url_arguments = request.args
16
-    return "%s" % url_elements
16
+    return "%s <br/> %s" % (url_elements, url_arguments)
17 17
 
18 18
 
19 19
 if __name__ == '__main__':

Carregando…
Cancelar
Salvar