Link to home
Start Free TrialLog in
Avatar of sggexchange
sggexchangeFlag for United States of America

asked on

I need a very simple HttpWebRequest Post example in ASP.NET c#..

I have many examples that do screen scrapes and return content as XML and such, BUT I don't need to get any kind of response.  I want the code to be very simple and in as few files of code as possible.

All I have to do is a pass three parameters to a web service via HTTP.

Who can give me an example?  Thanks!
Avatar of kaylanreilor
kaylanreilor
Flag of Luxembourg image

Avatar of sggexchange

ASKER

These examples do work, but they are pretty much the same thing I've seen before.  I do not need ANY response from the webserver at all, so do I have to use a WebResponse object at all?  I guess I'm just trying to do it with less code.
ASKER CERTIFIED SOLUTION
Avatar of kaylanreilor
kaylanreilor
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
that works...missed that bit the first time.