mirror of
https://github.com/kennethreitz/replit-py.git
synced 2026-06-05 23:10:18 +00:00
Use post request in needs_params example
This commit is contained in:
@@ -10,10 +10,10 @@ def index():
|
||||
<head><title>Form testing</title></head>
|
||||
<body>
|
||||
<h3>Form testing</h3>
|
||||
<form action="/form">
|
||||
<form action="/form" method=POST>
|
||||
<button type=submit>Submit form with no parameter</button>
|
||||
</form>
|
||||
<form action="/form">
|
||||
<form action="/form" method=POST>
|
||||
<input type=hidden name=param value=value>
|
||||
<button type=submit>Submit form with parameter</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user