I wonder if you have a problem with using the Django REST Framework. When you access the interface I developed, it should not look purely JSON-like. Why are there so many graphical interfaces?
In fact, this graphical interface is automatically created for us by the Django REST Framework, regardless of the browser or our interface.
So what parameter determines whether or not to display this graphical interface?
The secret is in the Accept parameter of the request message. When the Accept contains a text/ HTML value, the graphical interface is displayed
When Accept contains application/json values, the graphical interface is not displayed
Of course, all of this assumes that DEBUG = True in the project settings.py