#!/usr/bin/python3
from flask import Flask, render_template, jsonify, send_file
import json

app = Flask(__name__)

@app.route('/api/v1/get_image', methods=['GET','POST'],
           strict_slashes=False)
def get_image():
    """ Returns an image given id """
    response = send_file(tempFileObj, as_attachment=True, attachment_filename='marked_image.png')
    return response

if __name__ == "__main__":
    app.run(host="0.0.0.0", port='8080')

87c59d12e810b616947c548d75cfada7e88a88b4
<mask token>

<mask token>


@app.route('/api/v1/get_image', methods=['GET', 'POST'], strict_slashes=False)
def get_image():
    """ Returns an image given id """
    response = send_file(tempFileObj, as_attachment=True,
        attachment_filename='marked_image.png')
    return response


if __name__ == '__main__':
    app.run(host='0.0.0.0', port='8080')

<mask token>
app = Flask(__name__)


@app.route('/api/v1/get_image', methods=['GET', 'POST'], strict_slashes=False)
def get_image():
    """ Returns an image given id """
    response = send_file(tempFileObj, as_attachment=True,
        attachment_filename='marked_image.png')
    return response


if __name__ == '__main__':
    app.run(host='0.0.0.0', port='8080')

from flask import Flask, render_template, jsonify, send_file
import json
app = Flask(__name__)


@app.route('/api/v1/get_image', methods=['GET', 'POST'], strict_slashes=False)
def get_image():
    """ Returns an image given id """
    response = send_file(tempFileObj, as_attachment=True,
        attachment_filename='marked_image.png')
    return response


if __name__ == '__main__':
    app.run(host='0.0.0.0', port='8080')

#!/usr/bin/python3
from flask import Flask, render_template, jsonify, send_file
import json

app = Flask(__name__)

@app.route('/api/v1/get_image', methods=['GET','POST'],
           strict_slashes=False)
def get_image():
    """ Returns an image given id """
    response = send_file(tempFileObj, as_attachment=True, attachment_filename='marked_image.png')
    return response

if __name__ == "__main__":
    app.run(host="0.0.0.0", port='8080')
