× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



OK, I'll give that a try.  However, I want to use HTTP_POST because it's supposed to be faster.  But if I can get HTTPOSTCLOB to work maybe that will give me a clue to my problem.

Thanks for the suggestion.

On 1/14/2022 11:24, Tyler, Matt wrote:
Your pattern seems more likely you want to use SYSTOOLS.HTTPPOSTCLOB(). I use that for testing on a project and its function definition is url, header, msg.

Here is a sample of the one I was using for a project.
Select JT.* from table(
values SYSTOOLS.HTTPPOSTCLOB('https://xxx.vendor.com/api/ExportRequest'
,CAST('<httpHeader><header name="Content-Type" value="application/json" /></httpHeader>' as CLOB)
,CAST('
{
"proptery": "value",
"Parameters": [
{"Code": "SiteID","Value": "1109"},
{"Code": "StartDate","Value": "2020-09-10"},
{"Code": "EndDate","Value": "2020-09-15"}
],
"vendorcustomerguid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}' AS CLOB))) MI(JSONDOC),
JSON_TABLE(...);

-Matt


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.