Hello. I am trying to implement an API that accepts a part number and verifies that it is on file. The attached .pxp program is what the API executes.
I am testing the API by executing the following code:
2610 LET URL$="http://cetec.meowintl.com:8088/wal_checkpn.pxp?&prc=AMP&Part=164164-1
2620 LET URL$=SUB(URL$," ","%20")
2630 LET URL$=SUB(URL$,"|","%7C")
2640 LET URL$=SUB(URL$,"^","%5E")
2660 SETERR 2690
2670 CALL "*PLUS/WEB/REQUEST",URL$,X$,Y$,Z$; REM "x$ is data, y$ is response, z$=response header
After 2670 executes X$ is nothing, and Y$ is a listing of my API program. I don't understand why I am getting a program listing instead of my XML result. What am I doing wrong?
Version 14.1, RedHat Linux, using the PxPlus web server.