I need to create a windows application, which has to send data to server occasionally. What I need to do is send this data through an HTTP post. I am not completely sure about the architecture needed to implement this.
I assume that on the client side I have to use the HttpWebRequest object and connect to the server, instantiate a stream from this object and write to the stream.
What I would like is what needs to be written on the server-side. the primary function of the server should be to read the data which was posted to and process it.
Does anyone has a sample code for this, or may a thread on P2PWrox where this was discussed?
thanks in advance,