title: How can I pass in the login/register data for my django-rest api in the form of a url?
body: <p>I am following along with a book on the django-rest framework and I am having issues grasping a certain concept. The book uses the built-in Browsable API feature to do basic CRUD and LOGIN/LOGOUT/REGISTRATION functionality. What it fails to mention is how I can achieve such functionality using only the URL, which would be needed for, say connecting the API to the frontend of a REACT app.</p>
  <p><strong>Example:</strong>
  I have an API which displays Posts and this path shows all posts:</p>
  <pre><code>path('api/v1/', include('posts.urls')),
  </code></pre>
  <p>I want to use this path for example, to register.</p>
  <pre><code>path('dj-rest-auth/registration/', include('dj_rest_auth.registration.urls')),
  </code></pre>
  <p>How would the URL look like ?</p>