I have this Flask route which can take a get and post request at the same time
@flask_class.route(\'/receive_files\', methods=[\'GET\', \'POST\']) def receive