Related questions
How to stream video content in asp.net?
I have the following code which downloads video content:
WebRequest wreq = (HttpWebRequest)WebRequest.Create(url);
using (HttpWebResponse wresp = (HttpWebResponse)wreq.GetResponse())
using (Stream mystream = wresp.GetResponseStream())
{
using (BinaryReader reader = new BinaryReader(mystream))
{
int length = Convert.ToInt32(wresp.ContentLength);
byte[] buffer = …
How to make an HTTP POST web request
Canonical
How can I make an HTTP request and send some data using the POST method?
I can do a GET request, but I have no idea of how to make a POST request.