Project

General

Profile

upload binary file with node

Added by Manuel Olmedo about 9 years ago

Hi,

I'm trying to upload a file to redmine with node, I can upload and attach text files, but when I try to upload a binary file I get the token but the file doesn't work. I tried with json, XML and binary, ASCII and base64 encoding.

I want upload binary files because I'm doing end to end test testing I want open Issues with screenshots, and upload a report.

I'm using node-rest-client for service calling

Could someone give me a hint to fix this problem? how should I encode the binary file?

Thanks,