Sets the request method in the given http url connection object to the specified value.
Syntax
setRequestMethod( httpurlconnection , method )
httpurlconnection.setRequestMethod( method )
Parameters
httpurlconnection
|
the http url connection object to use.
|
method
|
the request method.
|
Returns
Example
ucon.setRequestMethod( reqMethod )
|