nehalelkaref commited on
Commit
4a93af1
β€’
1 Parent(s): 771eeb1

first push

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