HTTPPUTBLOB and HTTPPUTCLOB scalar functions

The HTTPPUTBLOB and HTTPPUTCLOB REST functions create or update a binary or text-based resource under the specified URL through an HTTP PUT request.

Read syntax diagramSkip visual syntax diagram HTTPPUTBLOBHTTPPUTCLOB ( URL => url , HTTPHEADER =>  httpHeader , REQUESTMSG =>  requestmsg )
The schema is SYSTOOLS.
url
Specifies the URL at which to complete the request. This argument is defined as a VARCHAR(2048) CCSID 1208 value.
httpHeader
Specifies an optional header XML document. To use the default HTTP header, specify NULL or the empty string. This parameter is a CLOB(10K) CCSID 1208 or an XML value.
See Foundational HTTP functions for a description of the header content.
requestmsg
Specifies the data to update at the specified URL. For the HTTPPUTBLOB function, this argument is defined as BLOB(2G). For the HTTPPUTCLOB function, this argument is defined as CLOB(2G) CCSID 1208.

For the HTTPPUTBLOB function, the result response message is returned as BLOB(2G). For the HTTPPUTCLOB function, the result response message is returned as CLOB(2G) CCSID 1208.