POST a file object to API?

Can you share how you have configured the API endpoint in API Connector?
If you have set Form Data and select a parameter to be a file, it should work.