title: How to get value from HTML user input in django view?
body: <p>Hello everyone I have an HTML form as follows:
  and after clicking on post i am redirecting it to views.py. can any one tell me how to get the field values of all the fields of the form into views.py.
  here's the output
  i want the field value in key value pair like shown in above pic i.e. API=hello&amp;Area=hello1 so on...</p>
  <p>i know we can do that using this
  if html:</p>
  <pre><code>&lt;div class=&quot;form-group col-md-2&quot;&gt;
                      &lt;label for=&quot;param&quot;&gt;TAF Parameter&lt;/label&gt;
                      &lt;input type=&quot;text&quot; name=&quot;inputdata_API&quot; class=&quot;form-control&quot; id=&quot;inputapi_param&quot; value=&quot;API&quot; readonly&gt;
                  &lt;/div&gt;
  </code></pre>
  <p>and view:</p>
  <pre><code>def register(request):
      api = request.GET.get['inputdata_API']
  </code></pre>
  <p>But in that case i have to write each and every input name in my view</p>