Hi,

You can do it as in any CSP page/class. With %request, which is object of class %CSP.Request

And headers available in property CgiEnvs, where every http header appear with a prefix HTTP_

try that better

set login = %request.GetCgiEnv("HTTP_LOGIN")
#dim list As %ListOfDataTypes
##class(%ZEN.Auxiliary.jsonProvider).%ConvertJSONToObject("[""a"",""b"",""c""]",,.list)
list.Count(),!

Ok! I have just one more question ...

s ret = {}

s  ret.IdClient.= "123"

How can i do something like that ?: 

s  ret.client.name = "peter"

When i try ... <INVALID OREF>