c# http post

G’day Fellas,

Many a times we have to do a HTTP POST to one of our websites either to push something or to push and get something in return.


Below is the code that I use to make such calls.

c# code

[geshi lang=”csharp” nums=”1″ target=”_self” ]



You can put this code inside a function of your say Util class and reuse this code again and again.


I hope this helps




[sam_ad id=”54″ codes=”true”]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.