2

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 ..

 Response from MEDIA api

4

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.