ServiceStack.Text.WebRequestExtensions.PostStringToUrl C# (CSharp) Méthode

PostStringToUrl() public static méthode

public static PostStringToUrl ( this url, string requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
requestBody string
contentType string
acceptContentType string
requestFilter Action
responseFilter Action
Résultat string
        public static string PostStringToUrl(this string url, string requestBody = null,
            string contentType = null, string acceptContentType = "*/*",
            Action<HttpWebRequest> requestFilter = null, Action<HttpWebResponse> responseFilter = null)
        {
            return SendStringToUrl(url, method: "POST",
                requestBody: requestBody, contentType: contentType,
                acceptContentType: acceptContentType, requestFilter: requestFilter, responseFilter: responseFilter);
        }