G
Guest
Hello,
I want to send a HTTP post request. The url will be given in the format
http://host:port/remainder-of-URL
where
host is the DNS name or IP address of the host where the receiver is
listening for incoming HTTP connections.
port is the TCP port on which the receiver is listening for incoming HTTP
connections. The port and the preceding colon character may be omitted, in
which case the port defaults to 80.
remainder-of-URL is the URL to which an HTTP POST operation will be directed.
I also need to send the request with some XML conten as a payload.
How to do this in C#
I want to send a HTTP post request. The url will be given in the format
http://host:port/remainder-of-URL
where
host is the DNS name or IP address of the host where the receiver is
listening for incoming HTTP connections.
port is the TCP port on which the receiver is listening for incoming HTTP
connections. The port and the preceding colon character may be omitted, in
which case the port defaults to 80.
remainder-of-URL is the URL to which an HTTP POST operation will be directed.
I also need to send the request with some XML conten as a payload.
How to do this in C#