fetch('https://api.pagar.me/1/zipcodes/86900000', { method: 'get' }) .then(response => response.json()) .then(console.log)