const url = 'https://app.gitpando.com/v1/monorepos/string/string/repos/string/branches/string/reviews';
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
body: JSON.stringify({
verdict: 'comment',
body: JSON.stringify('string'),
head: 'string',
comments: [{path: 'string', line: 0, side: 'new', body: JSON.stringify('string')}]
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));