Hi,
The asposehtmlcloud package does not seem to be usable because it is unable to complete the authentication flow to get a bearer token.
It appears this was broken in this commit updates to v.19.05 - added Storage API wrappers etc. · aspose-html-cloud/aspose-html-cloud-nodejs@c631073 · GitHub
Strings here are immutable and concatenating strings does not maintain a reference to the component strings, which means the logic there does not work. Although this.accessToken
is updated with the bearer token, this.defaultHeaders.Authorization
is not updated because it has no reference to this.accessToken
.
The impact of this is that all API requests are made with an Authorization header of Bearer undefined
and therefore they return an error.