[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: JsonObject Returned is "application/octet-stream: When Expecting "application/json" //

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

Peter Judge

Guest
There's nothing obviously wrong in the attached code. I'd turn on logging to see if there's anything useful in it. If the HTTP client does return application/octet-stream when you're expecting JSON, then there'll be a message saying why (as bet it can). Add log-manager:logfile-name = 'api.log'. log-manager:logging-level = 6. log-manager:clear-log(). //optional and the HTTP client and its components will write their log data into api.log.

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