This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Node.js and Pdfcrowd Problems

ryan wrote on 2011-03-23:
I'm having some trouble getting pdfcrowd to work with Node.js.

Right now, I can authenticate to pdfcrowd, and get pdf data back, but the pdf is blank.

I think it has something to do with node interpreting the result as utf-8 when it should be binary, as when I curl my node web service, it keeps telling me:

* Excess found in a non pipelined read: excess = 5240, size = 10633, maxdownload = 10633, bytecount = 0



The code I'm using in node.js can be found here:
https://gist.github.com/884248