const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({rating: 3, text: '<string>'})
};
fetch('https://api.agentpowers.ai/v1/skills/{slug}/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));