The real name of your program appears to be /QSYS.LIB/QGPL.LIB/PUSHJSON.PGM. But even if the http server finds it, it is likely to return an internal server error status, because it's not a CGI program.

Sent from my iPad

On Dec 19, 2016, at 2:36 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

Is this a possible solution? Could it be this simple?

xmlhttp.open("GET", "/QGPL/BMDEV/PUSHJSON", false,Booth,neatPassword);

where the SQLRPGLE *PGM is PUSHJSON in my development library BMDEV




On 12/19/2016 12:23 PM, Bill Hansen wrote:
What you want is an Ajax call, which is a commonly used technique. There are tons of online sources, books, and my Ajax Programming course (<plug>http://www.mantatech.com/manta/EBUS08.htm</plug).

Bill

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


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