const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
teamIds: ['9c1b7b9a-8c2f-4a9d-9f63-2a1b5c7e8d90', '7a2d1c4e-1f2a-4c9b-8e12-3f6d9a4b2c11']
})
};
fetch('https://api.trackpilots.com/teams/filter', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));