V K
V K

Reputation: 1719

How to create a multipart post request to upload a file to server using webclient?

I want to implement functionality to upload files to box.And it requires a multipart post request.I am using .net 3.5, so I can't use HttpClient. Also, I want to implement it using webclient as it allows to track progress and I want to show the progress in the UI. I have to send {"name":"tigers.jpeg", "parent":{"id":"xxxxx"}} as parameter along with the file to be uploaded.How do I create such a request, which also allows me to track progress.

Upvotes: 0

Views: 572

Answers (0)

Related Questions