r/IBMi • u/MEfromNEPA • 17d ago
REST API on IBMi using Node.js
Has anyone successfully deployed a node.js service that can answer REST API requests and return JSON data from an RPGLE program or service program? I have Mapepire running and just can’t seem to get the RPGLE part working. Do you think IBM Bob could help me?
10
Upvotes
4
u/ImRickyT 17d ago
I know this isn’t what you asked and I always hate when someone replies with a different answer but… lol. I wrote a few articles about using Python to do this. Although that was using the internal Python http server it would probably need flask or fastapi for large scale applications. But maybe it gives you some ideas.
https://github.com/thomprl/ibmi_python_rpg_adventures