export default App;
return ( <div> <input type="text" value={input} onChange={(e) => setInput(e.target.value)} /> <button onClick={handleSendMessage}>Send</button> <p>{response}</p> </div> ); }
const handleSendMessage = async () => { try { const response = await axios.post('/webhook', { input }); setResponse(response.data.fulfillmentText); } catch (error) { console.error(error); } };
CUET (Common University Entrance Test) is an exam that offers admission into undergraduate degrees across various disciplines at central universities including Delhi University (DU) and its famous colleges like St. Stephen's, Hindu, Miranda House, SRCC, and other participating institutions.
export default App;
return ( <div> <input type="text" value={input} onChange={(e) => setInput(e.target.value)} /> <button onClick={handleSendMessage}>Send</button> <p>{response}</p> </div> ); }
const handleSendMessage = async () => { try { const response = await axios.post('/webhook', { input }); setResponse(response.data.fulfillmentText); } catch (error) { console.error(error); } };