axios.get('https://google-map-places-api.vercel.app/api/places',{params:{apikey:"",query:""}}) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error));