1👍
I managed to solve the problem by making this little change with my python code:
# data = request.POST.get('data')
data = request.body.decode('utf-8')
Nevertheless, I still do not understand why this works in my case.
Source:stackexchange.com