Django test throws value error every time i try to input data in the test request
req_body = {"Value1":"Value1", "Value2":"Value2"}request = self.client.get(self.getSingleData_url, data= json.dumps(req_body), content_type='application/json')I have tried data = req_body but it returns an empty {} to the endpointComplete Value error
I have tried using, other ways to pass data, but once it is passed as json it throws Value Error