So I am trying to get comfortable using api-keys and this is a package I found and it seems promising. I added the
from rest_framework_api_key.permissions import HasAPIKey
permission_classes = [HasAPIKey]
Also in settings changed the custom header with
API_KEY_CUSTOM_HEADER = "HTTP_API_KEY"
and looked at the documentation, but no matter what I pass in as an argument in my url it seems to not work. I pass in http://127.0.0.1:8000/api/questions/API-KEY:********/
with my prefix key and it doesn't work. Any help?