Listing the Endpoint
Learn how to generate the endpoints list.
We'll cover the following
Endpoints listing
After developing the JWT authentication API, it is best that we have a reference of its endpoints. That makes it easier to access the APIs endpoints without having to look them up in our app’s views.py
file.
We can generate a list of the endpoints using a function-based view, as shown below.
Get hands-on with 1400+ tech skills courses.