restReqQueryGet (Function) |
Top Previous Next |
This function will read a query field from a request. This function is both used to read values specified in the query string, i.e. "/index?id=xx&value=yy" and to read variables extracted from the URL according to the format specified in restServerEndpointAdd. If a value is specified multiple times, all the values will be provided, separated by commas.
Input: req : SYSHANDLE A handle to the request.
name : STRING The name of the query field to read.
check_case : BOOL (Default FALSE) If set to TRUE, the name will use case sensitive comparison. If left at FALSE, the name will use case insensitive comparison. Note that if the same name is present with different case, only the value for the first matching name will be returned.
Output: value : STRING The value of the field.
Returns: INT
Declaration: FUNCTION restReqQueryGet : INT;
Example: INCLUDE rtcu.inc |