title: Post data in djangon api and unable to get variable value
body: <p>I have created a api which i am sending request by post but didn't get vairable in a view</p>
  
  <pre><code>def login_list(request):
      if request.method == 'POST':
          data = json.dumps(request.POST)
          print(data)
          serializer = LoginSerializer(data=request.data)
          #print(serializer)
          return JsonResponse({"message":'fdsafdsa'}) 
  </code></pre>
  
  <p>when i print data <strong>print(data)</strong> then out put is coming like this</p>
  
  <pre><code>{"{\"login\":122122,\"abvc\":\"544545\"}": ""}
  </code></pre>
  
  <p>and i calling this api like this in postman</p>
  
  <pre><code>Post http://localhost:8000/login/login/
  
  {"login":122122,"abvc":"544545"}
  </code></pre>
  
  <p>I am not geting value with this</p>
  
  <p>print(request.POST['login']);</p>
  
  <p>how can i get value</p>