hurl/integration/tests/post_bytes.py
2021-05-23 09:44:38 +02:00

9 lines
169 B
Python

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