2021-05-14 20:31:18 +03:00
|
|
|
from flask import request
|
2022-02-14 11:13:33 +03:00
|
|
|
from app import app
|
2021-05-14 20:31:18 +03:00
|
|
|
|
|
|
|
|
2022-02-05 08:56:33 +03:00
|
|
|
@app.route("/post-bytes", methods=["POST"])
|
|
|
|
def post_bytes():
|
|
|
|
assert request.data == b"\x01\x02\x03"
|
|
|
|
return ""
|