Trying to write django unit tests for APIs with djangorestframeworks. But the api cannot get data from PUT method(request.data).
The api works just fine with form data fr