[Progress Communities] [Progress OpenEdge ABL] Forum Post: How to read the plain text response to a ClientBuilder call?

  • Thread starter Thread starter Mike_M_Carlson
  • Start date Start date
Status
Not open for further replies.
M

Mike_M_Carlson

Guest
Using the .Net.HTTP Request/Response to a 3rd party API. Normally the responses are sent as JSON objects, which are handled fine, but when making a call to an API that we are not authorized to access, no object is returned and the status code shows 200. When making the same call using curl on the command-line, a plain text message is returned stating "...does not have authorization...". How can we capture that plain text message from the ClientBuilder response ? We just get the error : Invalid cast from OpenEdge.Core.Memptr to Progress.Json.ObjectModel.JsonObject. (12869) Invalid handle. Not initialized or points to a deleted object. (3135) Thank you, Mike

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