I getting the response back to my method fine,
.png)
but it is not returning to my BPL.
.png)
What am I missing to get the response back to the BPL?
// Execute REST Call
set tHttpResponse=##class(%Net.HttpResponse).%New()
set tSC = ..Adapter.SendFormDataArray(.tHttpResponse,"POST",tHttpRequest,"","",tURL)
set tStatusCode = tHttpResponse.StatusCode
$$$TRACE("Status Code: ["_tStatusCode_"]")
do ..logJSON(tHttpResponse.Data.Read(),"Post Relation Response")
// On HTTP 200 - OK
if tStatusCode = 200 {
do tHttpResponse.Data.Rewind()
do pResponse.%JSONImport(tHttpResponse.Data.Read())
quit $$$OK
} else {
q




.png)

