Click or drag to resize
MooshPost Method (String, DictionaryString, String, ActionHttpWebRequest, ActionException, StreamReader)
Asynchronously runs an HTTP POST request.

Namespace: Moosh
Assembly: Moosh (in Moosh.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void Post(
	string url,
	Dictionary<string, string> postData,
	Action<HttpWebRequest> before,
	Action<Exception, StreamReader> callback
)

Parameters

url
Type: SystemString
The URL to POST.
postData
Type: System.Collections.GenericDictionaryString, String
Additional data to include in the request.
before
Type: SystemActionHttpWebRequest
A function to run on the generated request before sending it.
callback
Type: SystemActionException, StreamReader
A function (Exception, StreamReader) to be called upon completion.
See Also