Created
May 22, 2021 11:39
-
-
Save anandtripathi5/e20228bd12bb9e2ec2b2170a2332dcfd to your computer and use it in GitHub Desktop.
This is the minimal example of server in Flask 1.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
app = Flask('__name__') | |
@app.route('/hello', methods=['GET', 'POST']) | |
def hello_world(): | |
return 'This is the hello world api request' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment