Commit e3ee10c4 authored by nanahira's avatar nanahira

fix

parent fcbf3f98
...@@ -77,7 +77,7 @@ new System.IO.Compression.GZipStream(streamReceive, System.IO.Compression.Compre ...@@ -77,7 +77,7 @@ new System.IO.Compression.GZipStream(streamReceive, System.IO.Compression.Compre
byte[] bytesToPost = encoding.GetBytes(data); byte[] bytesToPost = encoding.GetBytes(data);
string result = null; string result = null;
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(url); HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(url);
req.Headers.Add("Authorization", "WUEHSvMeNhj7NCm1jf"); req.Headers.Add("Authorization", txtAuthKey.Text);
req.ContentType = "application/json"; req.ContentType = "application/json";
req.Method = "POST"; req.Method = "POST";
req.ContentLength = bytesToPost.Length; req.ContentLength = bytesToPost.Length;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment