2020-08-27 10:07:46 +03:00
|
|
|
from flask import request
|
2022-02-14 11:13:33 +03:00
|
|
|
from app import app
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
2022-02-05 08:56:33 +03:00
|
|
|
@app.route("/post-file", methods=["POST"])
|
|
|
|
def post_file():
|
|
|
|
assert request.data == b"Hello World!"
|
|
|
|
return ""
|