|
Send a HTTP request message.
syntax
HttpRequestMessage(
&response,
httpPath,
method,
[,contextType]
[,body]
[,user]
[,password]
[, bNoCache = FALSE]
[, requestHeaders=#NOTHING#]
)
Parameters
&response
|
|
Type:
|
character
|
|
The response message.
|
httpPath
|
|
Type:
|
character
|
|
Specify the URL to the HTTP server.
|
method
|
|
Type:
|
character
|
|
Specify the HTTP request method (GET, POST, PUT, DELETE, etc.).
|
contextType
|
|
Type:
|
character
|
|
Context type. If empty, it becomes "text/html; charset=UTF-8".
|
body
|
|
Type:
|
character
|
|
The body of the message sent with the POST request method.
|
user
|
|
Type:
|
character
|
|
If authentication is required, specify the username.
|
password
|
|
Type:
|
character
|
|
If authentication is required, specify the password.
|
bNoCache
|
|
Type:
|
Boolean
|
|
If you specify TRUE, cache reading will not be performed when the GET method is called.
|
requestHeaders
|
|
Type:
|
Character Array
|
|
Add a HTTP protocol header. Specify the header name and its value as a string array.
Example) c(header, value)
To add multiple headers, list multiple header names and values consecutively.
Example) c(header1, value1, header2, value2)
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Supported
reference
GetComputerName
GetIPAddress
GetDriveVolumeInfo
GetDisplaySize
GetRegistoryValue
SetRegistoryValue
DelRegistoryKey
HttpRequestMessage
SOAPRequestMessage
SendMagicPacket
|