skip to Main Content

Reactjs – why i'm not receiving values in server?

const SignUpForm = () => { const {values ,errors , handleChange , handleSubmit} = useFormik({ initialValues , validationSchema: SignupSchema, onSubmit : async ()=>{ const user = await fetch('http://localhost:8080/user/register' ,{ method : "POST" , body : JSON.stringify(values) }) console.log(user ,values); }…

VIEW QUESTION
Back To Top
Search