django send data in the body code example
Example: django ajax body to json
# In Django you need to deserialize the json
import json
def my_view(request):
body_unicode = request.body.decode('utf-8')
body = json.loads(body_unicode)
content = body['content']