DEV Community

Discussion on: How to set token authentication via AJAX in Django to secure the API URL

Collapse
 
mellen profile image
Matt Ellen

When I had the requirement of creating an API and "eating our own dog food", I made the backend call the API, rather than have it happen at the front end.

That way the API key is locked to one user, but many people can use it.