Is it possible to get the html data from a template using flask requests?
For example, this is what I'm trying.
html = request.get_data(render_template('custom_templates/basic.html'))
Then pass that html info into the template:
return render_template('index.html', html=html)
I can't view the basic.html file using the below URL (404 not found) which is why I'm trying to "render_template". http://127.0.0.1:5000/templates/custom_templates/basic.html