users@jersey.java.net

[Jersey] Re: Example of consuming raw binary content?

From: poetfravia <seanj_at_xyke.com>
Date: Wed, 30 Nov 2011 13:22:33 -0800 (PST)

## for the greater internets, this will post the file <readme.txt> as a
binary stream.

curl -X POST \
    --header "Content-Type: application/octet-stream" \
    --data-binary @readme.txt \
    http://localhost:13450/jerseysample/upload

--
View this message in context: http://jersey.576304.n2.nabble.com/Example-of-consuming-raw-binary-content-tp6218279p7048480.html
Sent from the Jersey mailing list archive at Nabble.com.