# http flask

from flask import Flask
app = Flask(__name__)

@app.route("/")
def hello():
    return("You called the service with https")

cert_dir = 'cert/'

if __name__ == '__main__':
    app.run(ssl_context=(cert_dir+'cert.pem', cert_dir+'private_key.pem'))
cbe8913fd889fcbc3a389bc4edff648af979d93e
<mask token>


@app.route('/')
def hello():
    return 'You called the service with https'


<mask token>

<mask token>


@app.route('/')
def hello():
    return 'You called the service with https'


<mask token>
if __name__ == '__main__':
    app.run(ssl_context=(cert_dir + 'cert.pem', cert_dir + 'private_key.pem'))

<mask token>
app = Flask(__name__)


@app.route('/')
def hello():
    return 'You called the service with https'


cert_dir = 'cert/'
if __name__ == '__main__':
    app.run(ssl_context=(cert_dir + 'cert.pem', cert_dir + 'private_key.pem'))

from flask import Flask
app = Flask(__name__)


@app.route('/')
def hello():
    return 'You called the service with https'


cert_dir = 'cert/'
if __name__ == '__main__':
    app.run(ssl_context=(cert_dir + 'cert.pem', cert_dir + 'private_key.pem'))

# http flask

from flask import Flask
app = Flask(__name__)

@app.route("/")
def hello():
    return("You called the service with https")

cert_dir = 'cert/'

if __name__ == '__main__':
    app.run(ssl_context=(cert_dir+'cert.pem', cert_dir+'private_key.pem'))