コード例 #1
0
def postEmail():
    """Inserts an email into the list. request.args: 
      email: mandatory
    """
    m = HomeModel()
    return (jsonify({"email": m.newEmail(request.args["email"])}))
コード例 #2
0
ファイル: home.py プロジェクト: GeographicaGS/Elcano-iepg
def postEmail():
    """Inserts an email into the list. request.args: 
      email: mandatory
    """
    m = HomeModel()
    return(jsonify({"email": m.newEmail(request.args["email"])}))