I want to download an image from my REST API with axios
and display it in an img
tag. Can I do this without locally saving the file?
I had used <img src="localhost/api/imgs/1"/>
so far, but I'm securing the endpoint with token management now.
Any ideas how this is normally done?