title: Why Is My Django Post Request Sending Incorrectly Parsed My List of Dictionaries?
body: <p>Here is my Django view:</p>
  <pre><code>def sendMail(request):
      url = 'https://example.com/example'
      dictwithlist = request.FILES['dictwithlist']
      parsed = json.load(dictwithlist)
      
      // the log file shows that the lists are intact after json.loads
      logip(request, json.loads(parsed))
      x = requests.post(url, json.loads(clockoutJSON))
  return HttpResponse(status=204)
  </code></pre>
  <p>If I just send parsed data my express server receives an empty dict, {}. When I log the json.loads(parsed) I find good data, with the lists intact. When the data gets to the other side though, the dictionaries inside the nested list are all removed, replaced by only strings of their keys.</p>
  <p>I tried using headers as described here: <a href="https://stackoverflow.com/questions/38380086/sending-list-of-dicts-as-value-of-dict-with-requests-post-going-wrong">Sending list of dicts as value of dict with requests.post going wrong</a> but I just get 500 errors. I don't know if I'm formatting the headers wrong or not. (because the code has line spacing and I'm copying it)</p>
  <p>Can anyone help me understand why this is failing? I need that list to get through with its dictionaries intact.</p>