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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top