const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
dataset_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
reference_dataset_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
options: {}
})
};
fetch('https://api.example.com/v1/validate/sim-to-real', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));