Shanshan Yu · Jan 27, 2021 go to post

But I want to get the  license info  of another IP studio from my own studio through code

Shanshan Yu · Oct 16, 2023 go to post

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)

Shanshan Yu · Nov 8, 2023 go to post

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=)

Shanshan Yu · Nov 8, 2023 go to post

This method can be used for baseURL encoding

 $$$BASE64URLENCODE(token)

Shanshan Yu · Jan 9, 2024 go to post

HI,

I think maybe we can give it a try like this

set temp=$o(%request.Data(""))
while temp'=""
{
temp,":",%request.Data(temp,1),!
set temp=$o(%request.Data(temp))
}
Quit $$$OK

Shanshan Yu · Feb 1, 2024 go to post

HI 

 I think the score for IPM needs to be added to fhirmessageverification

Shanshan Yu · Feb 2, 2024 go to post

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

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=0while 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())
	}