OK, but I thought you said you had C# experience. Why move backwards to doing it in RPG ?
Guess I don't know enough about your background and current system environment,
With Java, Python, Node and PHP these options all run natively on IBM i as well.
But as long as you know RPG, why not.....
Regards,
Richard Schoen
Web:
http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
----------------------------------------------------------------------
message: 3
date: Sat, 8 Oct 2022 15:03:11 -0400
from: smith5646midrange@xxxxxxxxx
subject: Re: [WEB400] Creating a REST API with RPGLE
I'm just trying to eliminate failure points and keep things in an environment where I have control. Why have the browser use HTTP connect to a windows server (that I have no control over...different teams) for the C# program to ODBC connect to the IBM i when I can just HTTP directly to the IBM i?
I was also looking to use RPGLE because I know it. I have already bitten off more than I can chew with this thing and taking on the learning of yet another language might just push the whole project into the bit bucket.
-----Original Message-----
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Richard Schoen
Sent: Saturday, October 8, 2022 2:33 PM
To: web400@xxxxxxxxxxxxxxxxxx
Subject: Re: [WEB400] Creating a REST API with RPGLE
Out of curiosity is there a reason you can't still use C# ?
Web apps and web apis done in C# and hosted on Windows or Linux are quite usable as well and can interact with your RPG via ODBC database calls and the IBMi Access ODBC driver.
You also have things like Java, Python, Node and PHP available.
Another interesting option if you want to create an RPG web service is ILEAstic.
You have options.
Regards,
Richard Schoen
Web:
http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.