source: https://stackoverflow.com/questions/10434599/get-the-data-received-in-a-flask-request