Hello Everybody,
I try to accept the postbody from a POST-Request in a cobol program.
With a GET-Request everthing works fine (with "field a pic x(5) identified by fielda"). I get all the expected data.
But problems occur with the POST-Request .
I tried Chris Glaziers Cobol-Example (LInk: Calling COBOL program using AJAX with POSTed data )
In the mentioned buffer I got only NUL-Data.
Chris Glaziers Example show the accept to values from the environment. This works great.
My Postbody is a normal Json-structure with the length of 212 Bytes.
After execution of the Post-Request the received content-Length for example shows 212 Bytes. The accept-buffer for the POSTBODY contains 212 NUL-Bytes.
I am really confused.
I warmyl welcome a solution for this problem.
Thank you
Roland Stein
