def save_data(request):
    if request.method == 'POST':
        json_data = json.loads(request.body)
try:
    data = json_data['data']
except KeyError:
    HttpResponseServerError('Malformed data!')
HttpResponse('Got json data')
Where's my JSON data in my incoming Django request?