hurl/integration/tests_ok/post_base64.py

9 lines
169 B
Python
Raw Normal View History

2020-08-27 10:07:46 +03:00
from flask import request
from app import app
2020-08-27 10:07:46 +03:00
@app.route("/post-base64", methods=["POST"])
def post_base64():
assert request.data == b"Hello World!"
return ""