Binary file upload in body

how to upload binary file in body with post request in api connector?