def postEmail(): """Inserts an email into the list. request.args: email: mandatory """ m = HomeModel() return (jsonify({"email": m.newEmail(request.args["email"])}))
def postEmail(): """Inserts an email into the list. request.args: email: mandatory """ m = HomeModel() return(jsonify({"email": m.newEmail(request.args["email"])}))