To post data to a URL, let's say (http://9184.108.40.206:9999
), does the url need to be concatenated with any addtional syntax or it is as simple as
opening the connection, setting doOutput to true, and then creating an outputStream
and then writing to it?
Do I need to flush the outputStream too?