data passing app in falcon python
<p>Before asking the question i want to mention that i am aware of the fact that i can use django instead to make the app, but i need to use falcon and nothing else.</p>

<p>i am just looking for an approach</p>

<p>lets take a very simple scenario so that i can understand how data flows between various parts of the app.</p>

<p>i have a simple login page using html:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;body&gt;

&lt;form action="***what-do-i-put-here***"&gt;
  &lt;fieldset&gt;
    &lt;legend&gt;Personal information:&lt;/legend&gt;
    First name:&lt;br&gt;
    &lt;input type="text" name="firstname" value="Mickey"&gt;
    &lt;br&gt;
    Last name:&lt;br&gt;
    &lt;input type="text" name="lastname" value="Mouse"&gt;
    &lt;br&gt;&lt;br&gt;
    &lt;input type="submit" value="Submit"&gt;
  &lt;/fieldset&gt;
&lt;/form&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>i run it using simpleHTTpServer present by default in python.</p>

<p>now i create a very basic falcon app with just one responder "on_post()" which just replies back with the data that it recieved from the form,</p>

<p>i am using uWsgi on localserver to host my falcon app. how do i the make these two different pieces of code to interact with each other i mean in the html form ,what we do in case of Php is we define the name of php file under "actions" tag .how do we do this in falcon.</p>

<p>a very simple and small working example is highly appreciated</p>