From: paul f on
hi all,
i would like to send the following text from GPRS device A wthin the
quotes to below webserver, also would like to capture responce from
server:

initial message from device A sent to web server is "000001 Flow
Level : 0000012"
web server will respond with "#Success" when it sucessfully processes
this message.

URL is: www.abc.com/test.aspx?c=0



From: paul f on
On May 17, 3:17 pm, paul f <foran.p...(a)gmail.com> wrote:
> hi all,
> i would like to send the following text from GPRS device A  wthin the
> quotes to below webserver, also would like to capture responce from
> server:
>
> initial message from device A sent to web server is "000001 Flow
> Level : 0000012"
> web server will respond with "#Success"  when it sucessfully processes
> this message.
>
> URL is:www.abc.com/test.aspx?c=0

Just to clarify, I would like to write a c# app that tests the
webserver, call it a device A simulator that will run on my desktop, I
would like to send above text to webserver and read response..
From: Jeff Johnson on
"paul f" <foran.paul(a)gmail.com> wrote in message
news:b1543694-2bf9-4884-8390-26e59597e262(a)m21g2000vbr.googlegroups.com...

> Just to clarify, I would like to write a c# app that tests the
> webserver, call it a device A simulator that will run on my desktop, I
> would like to send above text to webserver and read response..

Unless you need to do lots of programmatic processing of the result, why go
to the trouble of writing a program? Just use Fiddler:
http://www.fiddler2.com


From: Arne Vajhøj on
On 17-05-2010 10:17, paul f wrote:
> i would like to send the following text from GPRS device A wthin the
> quotes to below webserver, also would like to capture responce from
> server:
>
> initial message from device A sent to web server is "000001 Flow
> Level : 0000012"
> web server will respond with "#Success" when it sucessfully processes
> this message.
>
> URL is: www.abc.com/test.aspx?c=0

The WebClient and (Http)WebRequest classes has good
support for talking to a web server.

Arne