Waiting for response...
rn JSON.parse(text); } catch (error) { return text; } }); }) .then(data => { console.log('Success:', data); document.getElementById('result').textContent = typeof data === 'object' ? JSON.stringify(data) : data; }) .catch((error) => { console.error('Error:', error); document.getElementById('result').textContent = 'Error: ' + error; }); } const url = 'https://l3yswg.buildship.run/buildship_ai_test'; const data = { user_prompt: 'Tell the story' }; postData(url, data); });
Waiting for response...