flask send base 64 encoded pdf string without saving
flask send base 64 encoded pdf string without saving Question: I have a flask application. I am using selenium cdp commands to generate pdfs. I get a base64 encoded string from selenium. Before sending the response as a pdf I save the file in my filesystem. file.write(base64.b64decode(pdf_string[‘data’]) And the response is just send_file(‘path’, ‘name.pdf’) How …