x-www-form-urlencoded parse by Django
<p>I create android API using django framework.I send post request to server in x-www-form-urlencoded form but i dont know how to parse by django framework.so how to parse it.</p>

<p>i am using postman to test api and using <code>**post method =&gt; body =&gt; x-www-form-urlencoded**</code> and send data is </p>

<pre><code>name     abc 
email    abc@gmail.com  
contact  1234567890
</code></pre>

<p>and this is <strong>view.py</strong> to get data</p>

<pre><code>def user_otp_authetication(request):
    if request.method == 'POST':
        objs = request.body.decode('utf-8')
        print obj

        return json_response({
            'success':'true'
        })
</code></pre>

<p>print value</p>

<pre><code>name=abc&amp;email=abc%40gmail.com&amp;contact=1234567890
</code></pre>

<p>how to parse this data for use.I also use json.loads() but it is not json so its through error message.</p>