|
@@ -22,7 +22,7 @@ class ReportView(View):
|
|
|
def post(self, request, *args, **kwargs):
|
|
|
request.encoding = 'utf-8'
|
|
|
operation = kwargs.get('operation')
|
|
|
- return self.validation(request.POST, operation)
|
|
|
+ return self.validation(json.loads(request.body), operation)
|
|
|
|
|
|
def validation(self, request_dict, operation):
|
|
|
response = ResponseObject()
|