Hi
I'm trying to send a request to a REST API Service.
I'm using this code (Adapter is "EnsLib.HTTP.OutboundAdapter")
Method Put(pRequest As SIGE.Grupo.BO.Operation.putRequest, Output pResponse As SIGE.Grupo.BO.Operation.putResponse) As %Status
{
set tSC = $$$OK
try
{
set tFormVar="Content-Type,apikey"
set tContent="application/json"
set tApiKey="somekey"
Set tOut=##class(%IO.StringStream).%New()
set tSC= ..ObjectToJSONStream(pRequest,.tOut)
Set tSC=..Adapter.Put(.tHttpResponse,tFormVar,tContent,tApiKey,tOu


.png)
