I use request module to make post request (Coffeescript):
But I get response 551 "Unsupported image file format". How I must send file? How your server know, which format file have? Must I specify file format anywhere? How must http package look like?
I learn samples (.net and python), watch traffic with WireShark, and try to do the same on nodejs, but it does not work.
Problem solved. file_content must be a Buffer object, not String.
answered 19 Aug '12, 15:21