I want to run multiple concurrent count queries on the same layer but the sdk does not provide that, so I turned to the REST API which does. I would like to use the existing Credential.token, but it doesn't work because it requires referer: runtimeqtsdk as a header which I cannot set using XMLHttpRequest.
Any suggestions on using this token so I don't have to manage tokens myself? Seems like there should be a reason the sdk allows access to the token and referer of the Credential.
Thanks