DEV Community


Discussion on: Hiding API Keys in Your Code

dayesouza profile image
Day Souza • Edited

I Just did that with my Netlify deploy, and it’a great. But as far as I know, one way to hide this from the front end request is having a back-end API to do this call for you, so your front end just calls it and it returns the values, without the key showing up

Thread Thread
ivana_croxcatto profile image
Ivana Croxcatto Author

It would not work for me at the moment, because I am just working on the Front-End development, but thanks for taking the time to share your knowledge :)

Thread Thread
khoja_suban profile image
Suban Khoja

Well Said. This is called abstraction and everybody learn it but many of them don't know how to apply it. What you told is perfect example of it

Forem Open with the Forem app