hurl/integration/tests_ok/post_file.py

9 lines
165 B
Python

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