HttpClient.PostAsync Method

.NET Framework 4.6 and 4.5

Send 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.

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

This operation will not block.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft