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,9 @@
|
||||
@get('/formulaire')
|
||||
def get_formulaire():
|
||||
formulaire = """
|
||||
<form method='post' action='bonjour'>
|
||||
<input type='text' name='nom' placeholder='Votre nom ?'/>
|
||||
<input type='submit' value='Bonjour bottle !'/>
|
||||
</form>
|
||||
"""
|
||||
return template("modele_base.html", boby=formulaire)
|
||||
Reference in New Issue
Block a user