nehalelkaref commited on
Commit
5fb566e
1 Parent(s): 7a89e67

first push

Browse files
Files changed (2) hide show
  1. .~main.py +7 -0
  2. main.py +1 -1
.~main.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from flask import Flask, jsonify, request
2
+
3
+ app = Flask(__name__)
4
+
5
+ @app.route('/', methods=['GET'])
6
+ def welcome():
7
+ return "Hello World!"
main.py CHANGED
@@ -2,6 +2,6 @@ from flask import Flask, jsonify, request
2
 
3
  app = Flask(__name__)
4
 
5
- @app.route('/hello', methods=['GET', 'POST'])
6
  def welcome():
7
  return "Hello World!"
 
2
 
3
  app = Flask(__name__)
4
 
5
+ @app.route('/', methods=['GET'])
6
  def welcome():
7
  return "Hello World!"