Calling POST API from RPGLE | HTTPAPI | yusy4code

preview_player
Показать описание
In this video, I have explained how to invoke a POST web service from RPGLE with XML or JSON payload.

We are using HTTP_REQ (by YAJL library) general procedure to make the request.

#rpgle #ibmi #webservice
Рекомендации по теме
Комментарии
Автор

Hi Yusy, Thanks for sharing your knowledge. I need your help, do you have an example of an RPG program that consumes a Rest API? I've seen videos of yours where you use http_req with Json, but it didn't work for me.

zadathg
Автор

Hi Yusuf @8:34 I tried to send a CSV ifs file by giving path but the I got a response from the client that
attachment is missing I tried Scott klements (example 7-multipart form data-mfd procedures) even that says attachment missing, Did you have any video related to it-Rest api-File upload using httplib

healthnutrition
Автор

Hi Yusuf,
We have written rpgle program with one input parameter 32000A length.we developed rest api and push data as json in the body using post method to iseries system.

As json is very huge data and it is more than 32000 character length, it is not receiving into iseries system.any suggestions?

Is there any other way to solve this issue?

sakthi
Автор

hi yusuf, i did not find http_req in httpapir4, can we use any method

krishnamadiraju
Автор

Hi Yusy, Is there a way to send multiple json payloads (batch payloads) in one post call

TheSuvitha
Автор

when i compile the program it give me, "Compiler not able to open the /COPY or /INCLUDE file" error. What should be the issue ?

thambiran_sk
Автор

can you help me with other option which cannot be set using set_option like authorization and accept in header using JSON

VishalChauhan-yxsm
Автор

After trying curl, then via axisc, I ended up here. After wasting 36 hours trying to figure out why curl command works and axisc doesn't. ugh.

methujeraya
Автор

Hi genius, where I can get the package /API for http request? And any API to format or construct jason more easily?

anson
Автор

Yusi what's your twitter account?

daniszwarc
welcome to shbcf.ru