You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I would like to "download" or at least to display an image unaccessible without login credentials.
When I try a request url to this image for example: https://www.google.com/images/branding/googlelogo/1x/googlelogo_light_color_272x92dp.png
Once i add the response { status {code } } line, the code crashes with Ktor error, I supposed I was wrongly retrieving the image, so how am I supposed to do it?
Thanks !
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I would like to "download" or at least to display an image unaccessible without login credentials.
When I try a request url to this image for example: https://www.google.com/images/branding/googlelogo/1x/googlelogo_light_color_272x92dp.png
Once i add the
response { status {code } }
line, the code crashes with Ktor error, I supposed I was wrongly retrieving the image, so how am I supposed to do it?Thanks !
Beta Was this translation helpful? Give feedback.
All reactions