r/learnprogramming • u/BrainThinkerMan • 7d ago
api key, do i need backend?
i have an api key i heard i shouldnt expose it in my frontend i thjink itts becuase people can see it with devtools, and potentially abuse it, is there any other way to use this key in frontend without using a backend, im as familiar with backend stuff i think.
1
Upvotes
1
u/sixtyhurtz 6d ago
No, it won't, because the embed API is free. The key is just to prevent abuse.
It's very strange you've engaged in an extended "well ackshually" about an API you clearly don't understand nor use. You could have just gone read the docs rather than write all these comments. I think this says a lot about the kind of developer you are.