Hey Roy Ibarra
There may be some problems with the Fetch header, try adding Content-Type to your fetch request header in src/app/page.tsx, e.g. 'Content-Type': 'application/json', and try again.
async function sendRequest(url: string, { arg }: { arg: { email: string }}) {
return fetch(url, {
headers: {
'Content-Type': 'application/json'
},
method: 'POST',
body: JSON.stringify(arg)
}).then(res => res.json())
}
Thank you for your feedback. I will add a headers and update this part code.