Building Listener API to get the incoming data to IFS
Posted: Wed Jul 17, 2024 9:45 pm
Hi, I am new to the API programs, I have created a RPGLE program to listen the server and save the file into the IFS folder. I am testing from POSTMAN. I got 500 error. the getenv(REQUEST_METHOD) and getenv(REQUEST_URI) ends up with error.
Error in postman:
ERROR [LISTENHDLR][LISTENHDLR]: Invocation of program failed.
CEE9901: Application error. MCH3601 unmonitored by LISTENHDLR at statement 0000000240, instruction X'0000'.
Also in postman, do we need to input data as payload, or can we pass as URL?
Help!
Error in postman:
ERROR [LISTENHDLR][LISTENHDLR]: Invocation of program failed.
CEE9901: Application error. MCH3601 unmonitored by LISTENHDLR at statement 0000000240, instruction X'0000'.
Also in postman, do we need to input data as payload, or can we pass as URL?
Help!