ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Invoke REST Service from IBM i

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Invoke REST Service from IBM i

    Greeting,
    Someone could give us an example of consuming a rest service from IBM i

  • #2
    Assuming that you mean from RPG then there are two major (free) candidates and a number of for-fee offerings.

    Google for consume rest service with SQL DB2 and you'll find many examples. If the security requirements for the service are fairly simple this works well and is available on every box with a current OS release.

    The other option and one that many thousands of us use utilizes Scott Klement's HTTPAPI (http://scottklement.com/httpapi/) and if you check his web site you'll find presentations on how to use it and the download library - which includes many, many examples of how to use it.

    Beyond this of course you can always use Java, Python, PHP, Node.js, etc.

    Comment


    • #3
      It would be helpful if you told us what you are looking for.

      Asking for an "example of calling a REST web service" is sort of like asking for a "book in the library". There are many thousands of them, and they are all different. As Jon pointed out, there are examples on my web site (most are under http://scottklement.com/presentations/ ) but they might not match what you want to do. (Similar to how giving you the title of one book in the library might not be very close to what you want to read about.)

      Comment


      • #4
        Thanks Scott and Jon, http://scottklement.com/presentation...from%20RPG.pdf . It's just what a I need. I'm trying to consume a rest API from RPG

        Comment


        • #5
          Thanks Scott and Jon, http://scottklement.com/presentation...from%20RPG.pdf . It's just what I need. I'm trying to consume a rest API from RPG

          Comment

          Working...
          X