I am trying to call IDM api from Infor LN 10.6 program script. But I am not able to have it working. I am trying to use function http.get(...). Most probably the problem is in passing certificate.
If I try to omit certificate by parameter HTTP_VERIFYPEER, false I amd getting response without any error. But once I try to get the body from bodystream by function jsonvalue = Json.read(bodystream, errormsg) I am getting error "unexpecte char while reading JSON value [current char: ASCII 60 (0x3c): "<"] "
IDM api is working fine as I am using it from ION workflow.
Does anyone has any idea or experience how to call REST api of IDM directly from Infor LN 4GL script?