I just answered on twitter. You can try to .post( with a hash ).
Restfulie.at(uri).as('content_type').post({......})
Regards
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
Guilherme Silveira
Felipe
Thats because applicayion/text is a text file. You want to send a application/form multipart (I forgot the name right now and am mobile but its the form multipart media type)
Regards
Guilherme Silveira