"
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded";
request.Headers.Add("Authorization: " + "Bearer" + " " + KEY);
request.ContentLength = data.Length;
Stream stream = request.GetRequestStream(); // error, here my debugger stops and plugin registration tools stops abruptly
{
stream.Write(data, 0, data.Length);
}
var response = (HttpWebResponse)request.GetResponse();
var responseString = new StreamReader(response.GetResponseStream()).ReadToEnd();
}
"
*This post is locked for comments