HTTP Get/Post from a command line C# app

  • Thread starter Thread starter Bredhal Jensen
  • Start date Start date
B

Bredhal Jensen

Hello,
I want to post http get and post request to a web server .
I know how in an asp.net web app but , the application here is a command
line app.

How can this be done?

Many Thanks


BJ
 
Bredhal Jensen said:
I want to post http get and post request to a web server .
I know how in an asp.net web app but , the application here is a command
line app.

How can this be done?

Exactly the same way that you do in an ASP.NET application. You use
WebRequest or WebClient just as you would in ASP.NET.
 
Back
Top