I am using Django REST Framework
request.data = '{"id": "10", "user": "Niroj"}'
I want to add extra attribute like "age": "30" before sending it to further like
request.data = new_data
response = super().post(request, *args, **kwargs)
I have two issues
- Why request.data is coming as string rather than dict
- How can i update the request.data