Re: Problems reading from Stdin
<stefan-6HgPSzB/[email protected]> Thu, 1 Dec 2022 19:22:44 +0100
| Newsgroups | gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <[email protected]> |
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 -- No trees were killed in the sending of this message, but a large number of electrons were terribly upset. Stefan Tageson +46 732 369934 stefan-6HgPSzB/[email protected] -- This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/web400 or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/web400.