Skip to content

Commit

Permalink
Fix a bug in web programming
Browse files Browse the repository at this point in the history
  • Loading branch information
ramtung committed Jan 1, 2025
1 parent 2dfd7d8 commit e5ab470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 24_WebIntro/1_SimpleExamples/static/addform.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Add two numbers</title>
</head>
<body>
<form action="/add" method="post">
<form action="/add" method="get">
<input name="num1" type="text" placeholder="First Number" /> <br/>
<input name="num2" type="text" placeholder="Second Number" /> <br/>
<button type="submit">Add</button>
Expand Down

0 comments on commit e5ab470

Please sign in to comment.