Hi Dave,

I'm posting xml data copied and pasted into POSTMAN to my CGI programme. Using QtmhRdStin to read the data but it shows up completely unreadable.

If you run a Postman request that works towards your IBM i and the look at one of the Apache-jobs ( WRKACTJOB ) that have a Function of ' PGM-QZSRCGI'.
Use option 5 (WRKJOB) and then option 22 to look at the environment variables for that job.
What do you have for the following environment variables:

GATEWAY_INTERFACE 'CGI/1.1'
SERVER_PROTOCOL 'HTTP/1.1'
REQUEST_METHOD 'POST'
CGI_MODE '%%EBCDIC%%'
CGI_OUTPUT_MODE '%%MIXED%%'
IBM_CCSID_VALUE '278'
CGI_EBCDIC_CCSID '278'
CGI_ASCII_CCSID '819'
FSCP '278'
NETCP '819'

Best regards

Stefan


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.