fetch('https://api.example.com/topology-optimize', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ assetId: 'your-asset-id', triangles: 1000, quality: 50, meshType: 'quad' }) }) .then(response => response.json()) .then(data => console.log(data))