An example of making an HTTP request to the server and the corresponding HTTP response from the server. In this HTTP Request and Response example, the the Accept: text/html request header tells the server that the client needs HTML. The Content-Type: text/html response header informs the client that the server has returned HTML. The C#/.NET code was automatically generated for the HTTP Request And Response example.
HTTP Request and Response Example [C#/.NET Code]Send
GET /echo HTTP/1.1