how to put a image in flask
<image src="{{url_for('static',filename = 'images/download.jpg')}}" >
how to put a image in flask
<image src="{{url_for('static',filename = 'images/download.jpg')}}" >
post an image Flask
def post_image(img_file):
""" post image and return the response """
img = open(img_file, 'rb').read()
response = requests.post(URL, data=img, headers=headers)
return response
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us