Function Block QUERY_ENCODE

The Function Block QUERY_ENCODE creates an HTTP Query request according to RFC1738.

The specification RFC1738 converts all spaces into a +. If instead, you want to convert a space into %20, use the Function Block QUERY_RAW_ENCODE.

Note: This Function Block can have more than two inputs. You can right-click on the Function Block to add another input. Note that the inputs are to be considered in pairs.

Inputs VAR1..VAR#

The inputs define the variable or key inserted into the object.

If the input is not defined or equals NULL, no data will be added.

Inputs VALUE1..VALUE#

Defines the value that is inserted into the object with the upper key. A boolean value is converted to 0 and 1.

Output QUERY

Returns the Query as a string upon success.