com.HttpServiceRequest.readDataRequest
Returns the body of a request in a
BYTE
.
Syntax
readDataRequest(
b BYTE)
- b defines a variable of type
BYTE
that will be filled with the request body.
Usage
The readDataRequest()
method returns the body of the request in a BYTE
.
Supported methods are:
PUT, POST, PATCH, and DELETE.
The BYTE
variable must be located in memory, and will be filled with the request
body. The existing content of the BYTE
will be discarded.
In case of error, the method throws an exception and sets the
status
variable. Depending on the error, a human-readable description of the
problem is available in the sqlca.sqlerrm
register. See Error handling in GWS calls (status).
The int_flag variable is checked during GWS API call to handle program interruptions, for more details, see Interruption handling in GWS calls (int_flag)