Hello Kari,
We are doing it from PL/1, which should be equivalent. You've got (basically) two options:
- Use z/OS Connect (IBM product) , which allows you to expose the REST API call like -more or less- a program CALL, and provides you tools to generate the needed artifacts from the swagger document describing the API call.
- Use low level http calls via z/OS HTTP/HTTPS callable services.
After taking a look to the second option, we decided to use z/OS Connect. Although the low level approach is doable it requires basically to hard-code every REST call you need to make. z/OS Connect takes care of those details and can be nicely integrated into your application developement lifecycle.
------------------------------
Jordi Guillaumes Pons
------------------------------
Original Message:
Sent: Tue October 05, 2021 02:59 PM
From: Kari Nagle
Subject: REST API's and IBM Z?
My team is looking to use REST API's calls from our IBM Z Cobol application. Has anyone done this yet?
I found this webinar helpful, but am looking for more :)
Give your developers a REST: A look at APIs on IBM Z (on24.com)
Thanks!
Kari
------------------------------
Kari Nagle
------------------------------