To post data to a URL, let's say (http://9188.8.131.52: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?