Listing the Endpoint

Learn how to generate the endpoints list.

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 1200+ tech skills courses.