Send Request to Server [C#/.NET Code]

An example of sending a request to the server. In this Send Request to Server example, the Accept: */* request header tells the server that the client accepts any media type. The Content-Type: text/html response header informs the client that the server returned HTML. The C#/.NET code was automatically generated for the Send Request Server example.
Send Request to Server [C#/.NET Code] Send
GET /echo HTTP/1.1
Accept: */*