title: Which request to use to fetch data from database based on some data sent?
body: <p>I am using django-rest-framework's genericAPIViews</p>
  
  <p>I want to send some data from the front end to the backend and depending upon the data sent Django should query a model and return some data to the frontend. The data sent is protected data and thus can't be attached in the URL so, GET request can't be used. I am not manipulating the database, just querying it and returning a response (a typical GET use case).</p>
  
  <p>Now in DRF's genericAPIViews, I can't find a view which does this:</p>
  
  <p>As can be seen from <a href="https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/generics.py" rel="nofollow noreferrer" title="Tom Christie&#39;s GitHub page">Tom Christie's GitHub page</a> only 2 views have a post handler:</p>
  
  <ol>
  <li><strong>CreateAPIView</strong>: <em>return self.create()</em></li>
  <li><strong>ListCreateAPIView</strong>: <em>return self.create()</em></li>
  </ol>
  
  <p>As can be seen both these views have post methods which create entries in the database which I don't want. Is there a built-in class which does my job or should I use generics.GenericAPIView and write my own post handler?</p>
  
  <p>Currently I am using generic.View which has post(self, request, *args, **kwargs)</p>