Kernel Toolkit 7.3 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$DECODE^XTHCUTL(): Decodes a String

Reference Type: Supported, Category: Toolkit—HTTP Client Helper, ICR#: 5555

Description

The $$DECODE^XTHCUTL extrinsic function is used with the HTTP/1.1 Client. It decodes one string replacing the following:

NOTE: XTHC* routines are part of the HTTP Client Helper application for developers.

NOTE: This API was released with Kernel Toolkit Patch XT*7.3*123.

Format

  $$DECODE^XTHCUTL(str)

Input Parameters

str:

(required) String to be decoded.

Output

returns:

Returns:

  • Success: Decoded string.

  • Fail: -1^String not defined (if missing str parameter).

Example

$$DECODE^XTHCUTL("123%2Bmain%2Bst.%2CAnytown%2CCA") 
123%2Bmain%2Bst.%2CAnytown%2CCA