mirror of
https://github.com/kuhyx/ARAI.git
synced 2026-07-04 13:23:03 +02:00
Change GET to POST
This commit is contained in:
parent
f04b89d1cf
commit
29b01b71ab
@ -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()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user