const Userdata = await axios.post('YOUR_URL',{ email : YOUR_EMAIL, password : YOUR_PASSWORD } );
EXAMPLE_YOUR_URL : http://localhost:3000/signup EXAMPLE_YOUR_EMAIL : [email protected] EXAMPLE_YOUR_PASSWORD : 123456
After then you will get back { status, data ..} In the data filed you will recieve all your data send by your backend and you can access by Userdata.data