String filename = "sample.html";
String sendMessage = "GET " +filename+ " HTTP/1.1 \n";
Could some one please tel me whether this is the correct way to send a "GET" request to the sever?
String filename = "sample.html";
String sendMessage = "GET " +filename+ " HTTP/1.1 \n";
Could some one please tel me whether this is the correct way to send a "GET" request to the sever?
you also should include the path "/etc/etc/" and finish with CR LF here is a properly formatted basic HTTP GET
GET /sample.html HTTP/1.1\r\n