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
mapacheney15mo 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&ms15mo ago
yea ok serverside it is thanks
mapacheney
mapacheney15mo ago
Np