Был вот такой вот GET запрос
Как мне его переделать в POST ? Спасибо
| Код |
|---|
HttpWebRequest httpWebRequest = (HttpWebRequest)HttpWebRequest.Create("......?id=152&PID=2415");
HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();
if (httpWebResponse != null && httpWebResponse.StatusCode == HttpStatusCode.OK)
{
Stream stream = httpWebResponse.GetResponseStream();
using (StreamReader reader = new StreamReader(stream, System.Text.Encoding.GetEncoding(1251)))
{
return reader.ReadToEnd();
} |
Как мне его переделать в POST ? Спасибо


























