I am consuming a private API of personal data, (/ user) and to consult a photo of the user I have to pass the user id to a new API (/ media /: user_id).
What do I get from this api, I think it's binary, how can I show the image? In php I use base64_encode in react I don't know how to do it.
I already searched and found nothing that would help me ..