I am working on the backend of a web application using Django and Django Restframework. I have several viewsets defined according to the models that are handled and to which several requests are made ( GET, PUT, DELETE, POST ).
I have done several unit tests to verify that the requests return the appropriate values and until now everything is going well. A few days ago I did this question to know how to extract information from the request, and now I want to do a test where I send this information in the request. How can I do it?
Thanks in advance and sorry for the spelling.