0
がここにいくつかのコードです送信しますWebclient.UploadString()は空の文字列
var client = new WebClient();
client.BaseAddress = "http://localhost/";
client.Headers["Content-type"] = "application/x-www-form-urlencoded";
client.Proxy = null;
// The server gets the data
var responseStr = client.UploadString(url, data);
...
// The server gets an empty post data
responseStr = client.UploadString(url, data);
Webクライアントは、使い捨てのものになることになっていますか?
'data'変数の内容を教えてください。 –
鍵のペア:json = foo&checksum = sha1(foo)。私はそれが問題ではないと思う。 – user1379654
実際には、正しくエンコードしなければ、サーバーはそれをデコードできないため、問題になります。 –