Send HTTP request manually via socket

Two things:

  1. You should use println instead of print to print your entries to separate lines.
  2. HTTP request should end in a blank line (link). So add pw.println("");

Leave a Comment