PostExample
-- posting data via a
URLConnection
.
To see this example in action:
Compile the Java source file, PostExample.java:
javac PostExample.java
Run the class:
java PostExample
The source.