Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,9 @@ app = Flask(__name__)
|
|
| 8 |
|
| 9 |
@app.route("/", methods=["POST"])
|
| 10 |
def index():
|
| 11 |
-
data = json.loads(request.data.decode())
|
| 12 |
-
response = jsonify(data["test1"]+data["test2"])
|
|
|
|
| 13 |
return response
|
| 14 |
|
| 15 |
if __name__ == "__main__":
|
|
|
|
| 8 |
|
| 9 |
@app.route("/", methods=["POST"])
|
| 10 |
def index():
|
| 11 |
+
# data = json.loads(request.data.decode())
|
| 12 |
+
# response = jsonify(data["test1"]+data["test2"])
|
| 13 |
+
response = "tet"
|
| 14 |
return response
|
| 15 |
|
| 16 |
if __name__ == "__main__":
|