How do I upload Binary Files

I am supposed to get the base64 of the content of the file?

I am using ipfs-http-client and Javascript thanks in advance

Hi :wave: @marcelo and welcome to the Infura community!

Are you encountering any errors using ipfs-http-client and Infura IPFS API?
Could you share some error responses you are getting( if any)?

I found this article very helpful and sharing it with you: