Uploading workbooks using C# .NET

Uploading workbooks using C# .NET

 Hello,

You guys are the best!!!  We are trying to upload files using the uploadbook api using C# .net but are confused on how to pass the content parameter. Below is how we are trying to post the content parameter but its not working. Would really appreciate it if you could help us out.



WebRequest request2 = WebRequest.Create("http://sheet.zoho.com/api/private/xml/uploadbook?apikey=2d9c5895578aa11de5e04233325638f&content=F:\\ABC\\efg.xls&contentType=xls&workbookName=efg.xls&ticket=" + TicketID);
 
request2.Method = "POST";