× 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.



Yes, I have used the QSYS2 HTTP functions as embedded SQL in an RPG program.  I have also used embedded SQL to parse the JSON.

Regards,

Bobby

On 2/9/2022 10:12, Kelly Cookson via RPG400-L wrote:
Thanks, Brad. I will keep all those options for parsing JSON in mind.

Do you know if an RPG program can use embedded SQL to call the QSYS2 HTTP functions to consume a REST API?

I have some POWERUp presentations from Scott where he shows how to consume REST APIs from RPG using the HTTPAPI package. I would like to know if the new QSYS2 functions delivered by IBM can be used in embedded SQL to consume REST APIs and get the JSON returned by the API.

Thanks,

Kelly Cookson
Senior Software Engineer II
Dot Foods, Inc.
1-217-773-4486 ext. 12676
www.dotfoods.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.