fetch('https://api.example.com/rigging', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ modelUrl: 'https://example.com/model.obj', name: 'My Rigged Model' }) }) .then(response => response.json()) .then(data => console.log(data))