const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
codeHash: 'string',
sessionTokenHash: 'string',
agentName: 'string',
agentKind: 'string',
intent: 'join_existing'
})
};
fetch('https://www.dench.com/api/v1/auth/signin-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));