Write a client program which invokes Form.cgi with POST method specified, using either the stream socket API or the URL class.
Hand in the program listings.
The data that needs to be exchanged is shown below:
```
>telnet www 80
Trying 129.65.241.7...
Connected to tiedye-srv.csc.calpoly.edu.
Escape character is '^]'.
POST /~mliu/form/postForm.cgi HTTP/1.0
Content-type: application/x-www-form-urlencoded
Content-length: 11
name=Donald
HTTP/1.1 200 OK
Date: Sun, 24 Feb 2002 22:52:33 GMT
Server: Apache/1.3.9 (Unix) ApacheJServ/1.0
Connection: close
Content-Type: text/html
Query Results
You submitted the following name/value pairs:
-
name = Donald