Function Block QUERY_DECODE

The Function Block QUERY_DECODE decodes an HTTP Query request.

Note: This Function Block can have more than two inputs or outputs. You can right-click on the Function Block to add another input or output.

Input QUERY

The Input expects a string in the format of an HTTP Query without leading ?.

Inputs VAR1..VAR#

The inputs define the variable or key that is searched for in the query.

If the input is not defined or it is equal to NULL, no data will be extracted.

The result is output at the opposite output.

Output ERR

The Output is true in case of an error.

Outputs VALUE1..VALUE#

An output returns the extracted data of the opposite variable.

If no data or the searched object is not present, NULL will be returned.

Tip: To check whether a value was defined, you can use the Function Block IS_NULL.