Below c++ source code compiled on zOS with Codepage IBM-1047 (Compile options CONVLIT(IBM-1047) gives expected results for the Curl command.
Curl command: /home/xxx/rsusr/rocket/bin/ /curl --insecure -v -s -X POST
https://api.test-xxx.hub-xx.xx.com/xxxxservices/exec/cmd - H "Content-Type: application/json" -H
"x-api-key: xxx" -H "Authorization: Bearer xxx" -d ‘jsonbody'
Problem arises in test job (COBOL/JCL) when
Source code is c++ compiled on zOS with Codepage IBM-1141 (Compile options CONVLIT(IBM-1141).
DEBUG Curl command result: Expected valueLine: 1 Offset: 0
ERROR Failed to send V1 XE Server request
Does CURL support IBM-1141 or IBM-285? Is there any way to convert the Jsondata in the command to IBM-1047?