Ionic 3 how to upload binary file to service

Hi
I want to send an image/video as a binary file to API. I tried with File transfer, but it’s deprecated. So I tried with HTTPClient and sending data as a blob but it’s not working.
Any idea?