Skip to main content

Sending Response

make sure you have registed to the meowform we can submit response here ,[email protected]&React

this endpoint will return status 200 and response saved message in body . if your response is saved and if it not it will return error. so you can use axios and send data in the body to the post request and meowform would save that data so you can see that response later in the Dashboard and also shoot an email in you inbox.

Talk is cheap show me the code

here you simply have to make a post request to the server and MeowForm would save it.

const makeRequest = async () => {  let request = await axios({    method: "post",    url: "[email protected]&React",    data: {      name,      email,      catname,    },  });  if (request.status == 200) {    alert("reponse saved");  } else {    alert("some error have occured");  }};

and if you want to have a look at how the whole code sand box have a look in this codebase :) This is Expo app and if you find it helpful do submit a response on it. Expo Snack