-
December 9th, 2012, 12:23 PM
#1
Java POST help with binary data
Dear Friends,
Please help me
I need to POST some binary values using Java.
As i cannot use File directly, is there any alternative way to post the binary data using the dataoutputstream.
basically looking for creating some binary data and do the POST.
Any sample code will be very helpful.
Thanks,
Jeena
-
December 20th, 2012, 09:20 AM
#2
Re: Java POST help with binary data
why cannot use file upload directly?
you can use URLConnection class to send binary along with POST data. I don't have example here, unfortunately.
However, the rule is, open an OutputStream on the connection and write your binary data.
-
December 28th, 2012, 05:06 AM
#3
Re: Java POST help with binary data
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|