title: how can i test user entered google map url is valid
body: <p>I have to write an API where the user will enter a URL of their location or property location. I will then store that URL as a string in the database. This data(the URL) will be shown to some app users where they can see the property location. Everything will work fine if the user has entered a valid google map URL. But if the user enters an invalid URL or image of some website URL the app is crashed and it closes.</p>
  
  <p>Is there anyway to verify or validate the url from frontend or backend?</p>
  
  <p>Thanks in advance.</p>