Поделиться через


HttpClient.PostAsync Method

Sends a POST request to the specified Uri as an asynchronous operation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method PostAsync(String, HttpContent) Sends a POST request to the specified Uri as an asynchronous operation.
Public method PostAsync(Uri, HttpContent) Sends a POST request to the specified Uri as an asynchronous operation.
Public method PostAsync(String, HttpContent, CancellationToken) Sends a POST request with a cancellation token as an asynchronous operation.
Public method PostAsync(Uri, HttpContent, CancellationToken) Sends a POST request with a cancellation token as an asynchronous operation.

Top

See Also

Reference

HttpClient Class

System.Net.Http Namespace