HTTPPOSTBLOB and HTTPPOSTCLOB scalar functions
The HTTPPOSTBLOB and HTTPPOSTCLOB REST functions update a binary or text-based resource under the specified URL through an HTTP POST request.
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.
- requestmsg
- Specifies the data to update at the specified URL. For the HTTPPOSTBLOB function, this argument is defined as BLOB(2G). For the HTTPPOSTCLOB function, this argument is defined as CLOB(2G) CCSID 1208.
For the HTTPPOSTBLOB function, the result response message is returned as BLOB(2G). For the HTTPPOSTCLOB function, the result response message is returned as CLOB(2G) CCSID 1208.