NextJs Boillerplate API Call in console const res = await fetch('API_URL', { method: 'POST' }); await res.json();