from rest_framework import status
from django.shortcuts import render
from django.http import JsonResponse, QueryDict
from django.views.generic import TemplateView
import logging

logger = logging.getLogger('testlogger')


def hello(request):
    return JsonResponse({"hello": "world"}, status=status.HTTP_200_OK)


def jumio_webhook(request):
    result = QueryDict(request.body)

    logger.info({"raw": request,
                 "raw.body": request.body,
                 "result": result,
                 })

    return JsonResponse(result, status=status.HTTP_200_OK)


class IndexView(TemplateView):
    template_name = "index.html"


81367f030e8502bd5a1835db2fc4dc3bb6f9c40b
<mask token>


class IndexView(TemplateView):
    template_name = 'index.html'

<mask token>


def hello(request):
    return JsonResponse({'hello': 'world'}, status=status.HTTP_200_OK)


def jumio_webhook(request):
    result = QueryDict(request.body)
    logger.info({'raw': request, 'raw.body': request.body, 'result': result})
    return JsonResponse(result, status=status.HTTP_200_OK)


class IndexView(TemplateView):
    template_name = 'index.html'

<mask token>
logger = logging.getLogger('testlogger')


def hello(request):
    return JsonResponse({'hello': 'world'}, status=status.HTTP_200_OK)


def jumio_webhook(request):
    result = QueryDict(request.body)
    logger.info({'raw': request, 'raw.body': request.body, 'result': result})
    return JsonResponse(result, status=status.HTTP_200_OK)


class IndexView(TemplateView):
    template_name = 'index.html'

from rest_framework import status
from django.shortcuts import render
from django.http import JsonResponse, QueryDict
from django.views.generic import TemplateView
import logging
logger = logging.getLogger('testlogger')


def hello(request):
    return JsonResponse({'hello': 'world'}, status=status.HTTP_200_OK)


def jumio_webhook(request):
    result = QueryDict(request.body)
    logger.info({'raw': request, 'raw.body': request.body, 'result': result})
    return JsonResponse(result, status=status.HTTP_200_OK)


class IndexView(TemplateView):
    template_name = 'index.html'

from rest_framework import status
from django.shortcuts import render
from django.http import JsonResponse, QueryDict
from django.views.generic import TemplateView
import logging

logger = logging.getLogger('testlogger')


def hello(request):
    return JsonResponse({"hello": "world"}, status=status.HTTP_200_OK)


def jumio_webhook(request):
    result = QueryDict(request.body)

    logger.info({"raw": request,
                 "raw.body": request.body,
                 "result": result,
                 })

    return JsonResponse(result, status=status.HTTP_200_OK)


class IndexView(TemplateView):
    template_name = "index.html"

