Hello Again Dear Koders I need help in this Api how should I request it using Web Component
const loadingToast = toast.loading(‘Paraphrasing…’);
const rawResponse = await fetch(`${process.env.https://paraphraser.prod.hipcv.com}/paraphrase`, {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({ text: Text to be Summarized, mode: paraphraseMode })