UtilWebGetPostResponse(Uri, DictionaryString, String) 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(
Uri uri,
Dictionary<string, string> postData
)
Public Shared Function GetPostResponse (
uri As Uri,
postData As Dictionary(Of String, String)
) As Byte()
Dim uri As Uri
Dim postData As Dictionary(Of String, String)
Dim returnValue As Byte()
returnValue = UtilWeb.GetPostResponse(uri,
postData)
public:
static array<unsigned char>^ GetPostResponse(
Uri^ uri,
Dictionary<String^, String^>^ postData
)
static member GetPostResponse :
uri : Uri *
postData : Dictionary<string, string> -> byte[]
No code example is currently available or this language may not be supported.
- uri Uri
-
The Uri.
- postData DictionaryString, String
-
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 response As Byte() = GetPostResponse(New Uri("http://es.wikipedia.org/wiki/Special:Search?"),
New Dictionary(Of String, String) From {
{"search", "Petición+POST"},
{"sourceid", "Mozilla-search"}
}) ' Formated POST Data: "search=Petición+POST&sourceid=Mozilla-search"
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.