I started to deal with the Django rest framework and ran into a problem. When connecting to the server using the command:
http http://адрес_сервера:порт the answer comes with an error:
{ "errors": [ "Not Authorized" ] }
JSON file is required, containing login \ password for authorization on the server and receiving a token.
Tell me, how can you send a JSON file to the server using DRF? And is it possible at all?