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

Mongodb – how do I fix 'cannot post error' in nodejs?

new to node.js I'm working on a nodejs-experss-mongodb project and I'm currently implementing a subscription function with the following specific requirements: Method: post Url:localhost:8080/api/v1/users/:userid/subscribe/:businessid AC: Current user's following array, add business id. Add the current user id to the merchant's…

VIEW QUESTION
Back To Top
Search