[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Simple JSON output using PASOE

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
{&OUT} "Content-Type: application/json" http-newline http-newline. What happens when you change this line to output-content-type ("application/ json ":U). ? PASOE "emulates" the CGI part of the Classic agent/server architecture. The output of the latter includes the response status line (written explcitly for PASOE, where the Classic model had it automagically added). output-content-type() ultimately calls output-http-header() which'll add the right response status line. You should be able to see the details of the message being sent back if you turn on UBNet logging in the agentLogEntryTypes . I suspect that there's no status line in your example. Hth, -- peter

Continue reading...
 
Status
Not open for further replies.
Back
Top