how to use Flask to save both uploaded file and user text input in json

Solution