[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: How to Log an HTTPRequest Object Created Using RequestBuilder Class

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

Matt Baker

Guest
You can't store a request object as a longchar. it isn't a string, or at least it doesn't have a good representation as a string. It is structured data (objects). The best you could do is convert it to a JSON document and turn that into a string, but you'd have to do that yourself. There isn't a utility to convert a request object to a string directly. And you certainly can't simply cast it. You'd have to write a data conversion method to convert the request into a string representation appropriate for whatever logging system you intend to use.

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