Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 736 Bytes

RESETPASSWORD.MD

File metadata and controls

36 lines (31 loc) · 736 Bytes

Reset Password ✅

# POST
https://www.codegrepper.com/api/reset_password.php
const DataToSend = new FormData();
DataToSend.append("email", "example@example.com");

return fetch(`https://www.codegrepper.com/api/reset_password.php`, {
  method: "POST",
  body: DataToSend,
})
  .then((response) => {
    return response.json();
  })
  .then((data) => {
    console.log(data);
  })
  .catch((err) => {
    console.log(err);
  });
{
  "success": true,
  "errors": []
}
Param Type Required Description
email String YES Email to receive the password reset email.