Hi
I'm using HttpWebRequest class to send some string values + some byte arrays to a url. when I set byteArrays value to null it works, but when I set byteArrays to a real value it does not works. here is my code to send data :
string strQueryString = HelperClass.GetQueryString(myFirstStringValue, mySecondStringValue, myFirstByteArrayValue, mySecondByteArrayValue);
string strCode = HelperClass.SendRequest(strQueryString);
and here is SendRequest body :
public static string SendRequest(string queryString)
{
string strResult = string.Empty;
string mainUrl = "MyUrl";
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(mainUrl);
byte[] data = Encoding.ASCII.GetBytes(queryString);
request.Method = "POST";
request.ContentType = "application/x-www-form-u ...
Go to the complete details ...