UtilWebGetPostResponse(String, NameValueCollection) Method
Sends a POST method request and returns the server response.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static byte[] GetPostResponse(
string url,
NameValueCollection postData
)
Public Shared Function GetPostResponse (
url As String,
postData As NameValueCollection
) As Byte()
Dim url As String
Dim postData As NameValueCollection
Dim returnValue As Byte()
returnValue = UtilWeb.GetPostResponse(url,
postData)
public:
static array<unsigned char>^ GetPostResponse(
String^ url,
NameValueCollection^ postData
)
static member GetPostResponse :
url : string *
postData : NameValueCollection -> byte[]
No code example is currently available or this language may not be supported.
- url String
-
The Url.
- postData NameValueCollection
-
The post data.
Byte
The response content.
This is a code example.
No code example is currently available or this language may not be supported.
Dim params As New Specialized.NameValueCollection() From {
{"search", "Petición+POST"},
{"sourceid", "Mozilla-search"}
} ' Formated POST Data: "search=Petición+POST&sourceid=Mozilla-search"
Dim response As Byte() = GetPostResponse("http://es.wikipedia.org/wiki/Special:Search?", params)
Dim str As String = Encoding.Default.GetString(response)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.