Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

0
I have a validation form on React but on clicking submit m getting “404 Error”. It works perfect on local machine. //from app.js
handleSubmit = async e => { e.preventDefault(); const response = await fetch(‘/api/emailVerifier’, { method: ‘POST’, body: this.state, headers: { ‘Content-Type’: ‘application/json’, },
//body: JSON.stringify({ post: this.state.post }),
});
const body = await response.text();
this.setState({ responseToPost: body });
}; //from server.js
app.post(‘/api/emailVerifier’, async (req, res) => { console.log(req.body); const emailValidator = new EmailValidator(); const { wellFormed, validDomain, validMailbox } = await emailValidator.verify(req.body.post); res.send(
`response received , welllformed = ${wellFormed}, validDomain = ${validDomain}, validMailbox = ${validMailbox}`,
); }); i have installed my my validator on server using npm i add deep-email-validator --save
My Directory on server has
asset-manifest.json index.html manifest.json package.json static build logo192.png node_modules robots.txt favicon.ico logo512.png package-lock.json server.js
KFSys
1e6b823ea20d4cb189a34a922f5588
a78df6d867e44a458d3e9e23747988
ibrahim
mayricoak
nashurgessa
tumerseyrek
da1d14cd11434cac8303ee43a3cec6
bennyooo
Samiuddin Mohammed
HappyDarkCyanDolphin