Change GET to POST

This commit is contained in:
Mateusz Szpyruk 2024-03-09 18:58:36 +01:00
parent f04b89d1cf
commit 29b01b71ab

View File

@ -6,7 +6,7 @@ cors = CORS(app)
app.config['CORS_HEADERS'] = 'Content-Type'
@cross_origin()
@app.route("/", methods=['GET'])
@app.route("/", methods=['POST'])
def recommended_mediators():
data = request.get_json()