after switching from request to superagent in 0.9.0 release getObject stopped working, the response.body is empty ({}), no any errors.
Most likely it affects only objects larger than a certain size (our models are usually bigger than 500K).
Anyway, the solution is to buffer the response. I've made a PR https://github.com/Autodesk-Forge/forge-api-nodejs-client/pull/82
Please review and accept.
after switching from
request
tosuperagent
in 0.9.0 release getObject stopped working, the response.body is empty ({}
), no any errors. Most likely it affects only objects larger than a certain size (our models are usually bigger than 500K). Anyway, the solution is to buffer the response. I've made a PR https://github.com/Autodesk-Forge/forge-api-nodejs-client/pull/82 Please review and accept.