(1) Gets all the security questions from the config file
(2) If the security questions can't be parsed it returns a error message
(3) If they are succesfully parsed it sends a list of questions and a succesful status
url: "<http://localhost:8000/getSecurityQuestions>"
headers: {
"Content-Type":"application/json",
}
(1) Checks that the user's email is in the body
(2) Finds the user in thhe database, and either returns that the user is not registered or the assocaited security question with their account
url: "<http://localhost:8000/securityQuestionsForUser>"
headers: {
"Content-Type":"application/json",
}
body: {
"email":"[email protected]"
}