hurl/integration/tests/post_file.py
2022-02-05 18:15:41 +01:00

9 lines
167 B
Python

from flask import request
from tests import app
@app.route("/post-file", methods=["POST"])
def post_file():
assert request.data == b"Hello World!"
return ""