test
Browse files- __pycache__/app.cpython-39.pyc +0 -0
- app.py +7 -7
__pycache__/app.cpython-39.pyc
ADDED
Binary file (399 Bytes). View file
|
|
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
#
|
2 |
-
from flask import Flask
|
3 |
|
|
|
|
|
|
|
4 |
app = Flask(__name__)
|
5 |
|
6 |
-
@app.route("/")
|
7 |
-
def hello_worlds():
|
8 |
-
return "hello d,, world!"
|
9 |
|
10 |
-
|
11 |
-
|
|
|
|
1 |
+
#import json
|
|
|
2 |
|
3 |
+
from flask import Flask,request
|
4 |
+
|
5 |
+
# Initializing flask app
|
6 |
app = Flask(__name__)
|
7 |
|
|
|
|
|
|
|
8 |
|
9 |
+
@app.route('/', methods=['GET','POST'])
|
10 |
+
def index():
|
11 |
+
return {"response":"just some junk response"}
|