Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Post request using httpclient

$
0
0

I use GetStringAsync method of class HttpClient to get JSON and it works excellent. But I don't understand how to use PostAsync or PostAsJsonAsync methods to send post requests. For example, I need to send a post request to "http://some.url" with key "somekey" and value "1". How can I do this?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>