score:1

async function getButtons(name) {
     try {
        const response = await axios.get(`api/buttons/${name}`);
        console.log(response);
     }
     catch (error) {
        console.log(error)
     }
}


Related Query

More Query from same tag