Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create endpoint in python

import flask

app = flask.Flask(__name__)
app.config["DEBUG"] = True


@app.route('/', methods=['PUT'])
def home():
    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"

app.run()
Source by programminghistorian.org #
 
PREVIOUS NEXT
Tagged: #create #endpoint #python
ADD COMMENT
Topic
Name
7+6 =