filmov
tv
Coding in RPG (IBM i/AS400). Communicating with a REST SERVER with HTTPAPI

Показать описание
In this example video, I'd like to show you a simple example of how to communicate with a REST SERVER from our RPG programs without using SQL.
In this case, using HTTPAPI.
For the example, I use the HTTPAPI functions:
- HTTP_REQ
- HTTP_DEBUG
- HTTP_XPROC
Please, let me know what you think about it. Leave your comments below.
Don't forget to subscribe!
#ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #as400 #common #HTTPAPI #restservices #restservers
0:00 Introduction
0:18 Starting using VSCode and Code for IBMi extension
0:35 Talking about HTTPAPI from Scott Klement
1:05 Initial source code for the example
1:30 Explaining about the binding directory used and the prototypes copied
1:55 Explaining the code: GET, POST and PUT
2:11 The HTTP_REQ procedure, and its parameters
4:40 Testing the program in the green screen
5:27 What if I need a LOG of the communications made? (HTTP_DEBUG)
6:33 What if I need to add a HEADER to my request? (HTTP_XPROC)
9:46 Testing the program in the green screen (after using HTTP_DEBUG and HTTP_XPROC)
10:20 Opening the LOG created in the IFS
11:25 Final commentaries and ending
In this case, using HTTPAPI.
For the example, I use the HTTPAPI functions:
- HTTP_REQ
- HTTP_DEBUG
- HTTP_XPROC
Please, let me know what you think about it. Leave your comments below.
Don't forget to subscribe!
#ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #as400 #common #HTTPAPI #restservices #restservers
0:00 Introduction
0:18 Starting using VSCode and Code for IBMi extension
0:35 Talking about HTTPAPI from Scott Klement
1:05 Initial source code for the example
1:30 Explaining about the binding directory used and the prototypes copied
1:55 Explaining the code: GET, POST and PUT
2:11 The HTTP_REQ procedure, and its parameters
4:40 Testing the program in the green screen
5:27 What if I need a LOG of the communications made? (HTTP_DEBUG)
6:33 What if I need to add a HEADER to my request? (HTTP_XPROC)
9:46 Testing the program in the green screen (after using HTTP_DEBUG and HTTP_XPROC)
10:20 Opening the LOG created in the IFS
11:25 Final commentaries and ending
Комментарии