I need to pass an Excel file in to and web service implemented in C#. The web service I have created so far is as follows.
public void loadData([FromBody]string dataFile)
{
}
I also thought that it is accepatble to pass the Excel file is using a Base64 string;
Is this a good way or are there any better ways to do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…