If your requirement is just to capture everything in quotes, the simplest way is to translate when it has quotes.
set object = ##class(%ZEN.proxyObject).%New()
set object.ID = ID
set object.ID = $TR(object.ID,"""","")
setx = ##class(%ZEN.Auxiliary.jsonArrayProvider).%WriteJSONStreamFromObject(.json,object)
I believe you have to post excluding the domain name in the URL (As you already specified domain under Server property of HttpRequest object). From your terminal screenshot , try like below ?
set tSc=AuthToken.Post("/B2C_1A_client_credentials_signIn/oauth2/v2.0/token?ptid=.........")
go to post
If your requirement is just to capture everything in quotes, the simplest way is to translate when it has quotes.
set object = ##class(%ZEN.proxyObject).%New() set object.ID = ID set object.ID = $TR(object.ID,"""","") set x = ##class(%ZEN.Auxiliary.jsonArrayProvider).%WriteJSONStreamFromObject(.json,object)
go to post
Alexandra, looks like you have two different namespaces FILERO and FILEROIRIS, could you please double check you are into right namespace ?
go to post
I believe you have to post excluding the domain name in the URL (As you already specified domain under Server property of HttpRequest object). From your terminal screenshot , try like below ?
set tSc=AuthToken.Post("/B2C_1A_client_credentials_signIn/oauth2/v2.0/token?ptid=.........")