- mike S
- PowerServer
- Monday, 6 November 2023 03:08 PM UTC
I use the restclient to get the JWT token from powerserver web api since that is how the examples show how to do it.
From what i can tell however, all the GetJWTToken does is post to the url and put the response body in the 'ref string token' and deflate it if it is in gzip format. You still have to use jsonparser to get the token: GetItemString("/access_token")
is there any reason to use the restclient for this other than the auto-deflate? If the ExtractorObject supported in memory extraction rather than requiring output to files, then the http client would be the same?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.