go to post Shanshan Yu · Feb 25 set bii=$p(pStreamIn.GetAttribute("content-type"),"=",2) set message=##class(%Net.MIMEPart).%New() set reader=##class(%Net.MIMEReader).%New() Do reader.OpenStream(pStreamIn) set a=0 while a'=1 { Set sc=reader.readHeader(.message,1) Set sc=reader.readBody(message,bii,.a) $$$LOGINFO(message.GetHeader("Content-Type")) $$$LOGINFO($p(message.GetHeader("Content-Disposition"),"""",2)) $$$LOGINFO(message.Body.Read()) }
go to post Shanshan Yu · Feb 2, 2024 HI, thank you for reminding me that I have updated my package. Please note that it needs to be installed in a namespace with fhir server installed
go to post Shanshan Yu · Feb 1, 2024 HI I think the score for IPM needs to be added to fhirmessageverification
go to post Shanshan Yu · Jan 9, 2024 HI, I think maybe we can give it a try like this set temp=$o(%request.Data(""))while temp'=""{w temp,":",%request.Data(temp,1),!set temp=$o(%request.Data(temp))}Quit $$$OK
go to post Shanshan Yu · Jan 8, 2024 Is Your class extend % CSP.REST? OR extend EnsLib.REST. Service?
go to post Shanshan Yu · Jan 4, 2024 I think there may be an issue with the namespace of the header class. Perhaps you can modify or copy a new header class and modify its namespace to http://SCS.Servicios/SIPRESatelites
go to post Shanshan Yu · Nov 8, 2023 This method can be used for baseURL encoding $$$BASE64URLENCODE(token)
go to post Shanshan Yu · Nov 8, 2023 The jwt on the second image you provided seems to be also an incorrect verification I think your modified jwt is the correct one (also requires base64url encoding, no final=)
go to post Shanshan Yu · Oct 16, 2023 HI, Perhaps the following methods can be considered w ##class(%SYSTEM.Util).CreateGUID() w $system.Encryption.GenCryptToken() w $system.Encryption.GenCryptRand(20,0) w $system.Encryption.Base64Encode($system.Encryption.GenCryptRand(20,0),1)