from flask import Flask
from flask import jsonify
import os
from datetime import datetime


app = Flask(__name__)
messages = []


@app.route('/', methods=['GET'])
def do_get():
    #TODO: send files to user
    return jsonify({'messages': messages})


@app.route('/', methods=['POST'])
def do_post():
    message = "Client Sent To Server At: " + str(datetime.now())
    messages.append(message)
    # TODO: receive files from user
    return jsonify({'messages': messages})


def main():
    app.run(host="0.0.0.0", port=int(os.environ.get("PORT", 7777)))


if __name__ == "__main__":
    main()

3c51987bd7d8f44b8e277b3bba04a32ec2cd0e86
<mask token>


@app.route('/', methods=['POST'])
def do_post():
    message = 'Client Sent To Server At: ' + str(datetime.now())
    messages.append(message)
    return jsonify({'messages': messages})


def main():
    app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 7777)))


<mask token>

<mask token>


@app.route('/', methods=['GET'])
def do_get():
    return jsonify({'messages': messages})


@app.route('/', methods=['POST'])
def do_post():
    message = 'Client Sent To Server At: ' + str(datetime.now())
    messages.append(message)
    return jsonify({'messages': messages})


def main():
    app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 7777)))


if __name__ == '__main__':
    main()

<mask token>
app = Flask(__name__)
messages = []


@app.route('/', methods=['GET'])
def do_get():
    return jsonify({'messages': messages})


@app.route('/', methods=['POST'])
def do_post():
    message = 'Client Sent To Server At: ' + str(datetime.now())
    messages.append(message)
    return jsonify({'messages': messages})


def main():
    app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 7777)))


if __name__ == '__main__':
    main()

from flask import Flask
from flask import jsonify
import os
from datetime import datetime
app = Flask(__name__)
messages = []


@app.route('/', methods=['GET'])
def do_get():
    return jsonify({'messages': messages})


@app.route('/', methods=['POST'])
def do_post():
    message = 'Client Sent To Server At: ' + str(datetime.now())
    messages.append(message)
    return jsonify({'messages': messages})


def main():
    app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 7777)))


if __name__ == '__main__':
    main()

from flask import Flask
from flask import jsonify
import os
from datetime import datetime


app = Flask(__name__)
messages = []


@app.route('/', methods=['GET'])
def do_get():
    #TODO: send files to user
    return jsonify({'messages': messages})


@app.route('/', methods=['POST'])
def do_post():
    message = "Client Sent To Server At: " + str(datetime.now())
    messages.append(message)
    # TODO: receive files from user
    return jsonify({'messages': messages})


def main():
    app.run(host="0.0.0.0", port=int(os.environ.get("PORT", 7777)))


if __name__ == "__main__":
    main()
