com.HTTPServiceRequest.getURLQuery
Takes a dynamic array of RECORD of two strings and fills that array with the decoded query string of a HTTP service request.
Syntax
getURLQuery(
query RECORD)
- query defines a record with the following
structure:
The WSHelper library provides theDEFINE query DYNAMIC ARRAY OF RECORD name STRING, value STRING END RECORD
WSHelper.WSQueryType
variable for your use. See WSHelper variables and records.
Usage
Takes a dynamic array of RECORD of two strings and fills that array with the decoded query string of a HTTP service request. If there is no query string, the dynamic array size will be zero (0).
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).
If the given array is not of the expected type, it raises exception -15535.
If there is an encoding issue, the STATUS is set to -15552. No exception is raised. You can process the query parts that do not have any UTF-8 conversion issues.