create endpoint in python

Solutions on MaxInterview for create endpoint in python by the best coders in the world

showing results for - "create endpoint in python"
Máximo
25 Jan 2017
1import flask
2
3app = flask.Flask(__name__)
4app.config["DEBUG"] = True
5
6
7@app.route('/', methods=['PUT'])
8def home():
9    return "https://prod-18.centralindia.logic.azure.com/workflows/d1dfef5cd2b54103b67a989eab024704/triggers/request/paths/invoke?api-version=2016-10-01&sp=%2Ftriggers%2Frequest%2Frun&sv=1.0&sig=ZRSj02or46cAlXseGsDU4VGUd6KqqXqe_U4R_W9Dxhw&Name=Masadi Srinath&Email=mr.masadi25@gmail.com&college=Lovely Professional University&StudentId=11807750"
10
11app.run()
12