|
Ok, here's a complete example of calling a JSON webservice from embedded RPG https://github.com/fathert/json-rpg-example/blob/master/open-weather.sqlrpgle
It uses the sample APIs provided at OpenWeatherMap (https://openweathermap.org/current#severalid) As it's only a sample API, any old input gives the same output, which you can see by clicking on the link on the website.
I hope this helps.
Tim.
As an Amazon Associate we earn from qualifying purchases.
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.