const options = {
method: 'POST',
headers: {Key: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({redirect_uris: ['<string>'], client_name: '<string>'})
};
fetch('https://api.peel.sh/oauth/register', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));