hurl/integration/tests_ok/post_bytes.py

9 lines
167 B
Python
Raw Normal View History

from flask import request
from app import app
@app.route("/post-bytes", methods=["POST"])
def post_bytes():
assert request.data == b"\x01\x02\x03"
return ""