Hi all,
I have a API operation that is calling to a external process. The answer is a big json but I only want a pice of the full content.
My first attempt is:
.....
// The code of prepare the request is omitted.
set tSC = ..Adapter.SendFormDataArray(.tHttpResponse,"POST",tHttpRequest,,,tURL)
if $$$ISERR(tSC) $$$ThrowStatus(tSC)
// Get the response directly
set response = ""
while (tHttpResponse.Data.AtEnd = 0) {
set response = respuesta_tHttpResponse.Data.Read()
}
// Convert Json to generic object, get the node returnValue.data and convert to JSon again
set objJson = ##class(%DynamicObject).%Fro

.png)
.png)
.png)
.png)