public void HttpPost() {
foreach(string script in ScriptPaths) {
var http = new HttpClient(script);
log.Debug("Post(string) = " + http.Post(PayLoad, Encoding.UTF8));
log.Debug("Post(string) = " + http.Post(PayLoad, Encoding.Default));
var nvc = new NameValueCollection
{
{ "A", "123" },
{ "B", "가나다" },
{ "CD", "각하" },
{ "Name", "바보 아냐" }
};
log.Debug("Post(NameValueCollection inputs) = " + http.Post(nvc, Encoding.UTF8));
log.Debug("Post(NameValueCollection inputs) = " + http.Post(nvc, Encoding.Default));
log.Debug("");
}
}