Tornado Url And Html Form
I'm using tornado and I want to Insert something to my MongoDB from values in a HTML form. in the HTML file I have a form like this:
Solution 1:
Change the form method to POST as you are handling in a POST request:
<formmethod="POST" >
You also need to provide an action if the form is served from different page, so your form should be:
<formmethod="POST"action="/admin/edit">
Post a Comment for "Tornado Url And Html Form"