How to Upload excel file or read data from excel file selected at input?

Hi, i want to upload excel file from ionic to API, my API was accepting the file in the body. how can i send file choosen by user from input and sent it as file to my API ?