nehalelkaref commited on
Commit
ed909e7
1 Parent(s): 59c61a7

first push

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -2,7 +2,7 @@ from flask import Flask, jsonify, request
2
 
3
  app = Flask(__name__)
4
 
5
- @app.route("/")
6
  def home():
7
  return "<h1>GFG is great platform to learn</h1>"
8
 
 
2
 
3
  app = Flask(__name__)
4
 
5
+ @app.route("/", methods=['GET'])
6
  def home():
7
  return "<h1>GFG is great platform to learn</h1>"
8