make geocoding request serverside or clientside?

So my user will enter an address and I want to convert that address to latitude and longitude numbers using a geocoding api to store in my db. However, do I make that request on client side and pass it into the mutation procedure as its own input, or should I do it serverside within the procedure itself? What are the pros and cons?
3 Replies
mapacheney
mapacheney2y ago
If you need to hide the api key, do it on server Or if you really need that coordinates to not be manipulated from the client
packofm&ms
packofm&ms2y ago
yea ok serverside it is thanks
mapacheney
mapacheney2y ago
Np
Want results from more Discord servers?
Add your server