Code Examples
JavaScript/Fetch
fetch('https://workers.akyatbundok.com/api/public/mountains/search?query=pulag')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));fetch('https://workers.akyatbundok.com/api/public/mountains/search?query=pulag')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));