Feat(1NSI): requete POST et serveur bottle
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
@post('/formulaire')
|
||||
def bonjour() :
|
||||
nom = bottle.request.forms.get('nom')
|
||||
body = "<p>Bonjour mon(a) che(è)r(e) " + nom + "</p>"
|
||||
|
||||
return template("modele_base.py", body=body)
|
||||
Reference in New Issue
Block a user