DEV Community

Discussion on: Sending Contact Form Messages to Your Email Inbox

Collapse
 
seriouslee13 profile image
SeriousLee13

Thanks for the response. But then how do you do frontend api call without exposing your api secret key? Seems to me, the only way to do this would be via a server-side function of some sort?

Thread Thread
 
xinnks profile image
James Sinkala

The secret keys are only accessed by the server-side function, the front end just makes API calls and has no access to the keys.