const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', sourceNetworkId: '<string>', targetNetworkId: '<string>'})
};
fetch('https://api.example.com/v1/regions/{region}/compute/peering', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));