|
Here's a simple example I did a while back for someone else:
https://www.fieldexit.com/forum/display?threadid=522
It doesn't read in data from the web page, but adding that is simple using
YAJL and yajl_stdin_load_tree(). Nothing fancy needed at all.
Read in the JSON from the request.
Do what you will with it
Write out the response.
Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #22 <https://www.bvstools.com/mailtool.html>: Cost
starting at under $300 a year per partition!
On Thu, Feb 14, 2019 at 9:04 AM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:
you are probably right Nadir - i'm going to look into thishttps://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzaie/rzaieconcgi.htm
On Thu, Feb 14, 2019 at 10:00 AM Nadir Amra <amra@xxxxxxxxxx> wrote:
Seems to me a simple CGI[1] program should do the trick.
[1]
02/14/2019
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on
in08:42:56 AM:
From: Jay Vaughn <jeffersonvaughn@xxxxxxxxx><midrange-l@xxxxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion
Date: 02/14/2019 08:52 AM(with
Subject: Re: Help With Getting HTTP Server running
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
i understand how you would be confused...
wipe all the scott klement webservice api stuff from your head for a
second...
last company i was at, i was tasked with writing RPGLE pgms with YAHL
no PCML h-spec) and they would receive a string parm in (json format)and a
string parm out (json format), that would I would of course produce
listmylist
rpgle pgm.
These backend pgms i wrote were invoked from an http endpoint.
I'm trying to recreate that same http endpoint now.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.