I tried HTTPPOSTCLOB & JSON_TABLE (see https://www.itjungle.com/2017/10/02/guru-consuming-rest-web-service-using-sql-post/). HTTPPOSTCLOB was a slam dunk. JSON_TABLE didn't want to cooperate, so I went with YAJL.

-----Original Message-----
From: Jay Vaughn [mailto:jeffersonvaughn@xxxxxxxxx]
Sent: Monday, January 14, 2019 10:10 AM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: REST API call from RPG

Yajl was fun and easy to work with but I’d be interested in sql’s json functions. Unfortunately not on any projects at the moment to utilize it.


On Jan 14, 2019, at 9:59 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

I've always used HTTPAPI in the past. I tried HTTPPOSTCLOB recently, and I think I'm a convert. HTTPPOSTCLOB then YAJLINTO and done!

This thread ...


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

This mailing list archive is Copyright 1997-2019 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].