I have a querydict that looks like the following:
How would I extract
I just experienced the same problem. It happened when I was trying to have my request data be held in request.POST instead of request.body. I was using Django with a trusted backend route already configured to work with request.POST
In order to send the data within request.POST with the fetch API I had to use 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' which turned my JSON stringifed data into a format like above.
In learning how to serialize data from Daniel's answer I came across $.param(data), a jquery function which should format it correctly for you.
You can use - request.data.get("content")
This will give you the data directly if in front end (jQuery,Angular) you have NOT used JSON.stringify(data)
.