users@jersey.java.net

[Jersey] Re: How to post a file and other form fields by Jersey client

From: Jitesh <jiteshks_at_yahoo.com>
Date: Wed, 22 Jun 2011 11:01:58 -0700 (PDT)

I changed one line in client code to this

ClientResponse response =
service.type(MediaType.MULTIPART_FORM_DATA).header("Content-type","MULTIPART/FORM-DATA;boundary=Aab03x").header("appKey",appkey).post(ClientResponse.class,formData);

How do I compose boundary for each element?

Guyz,please someone reply .

--
View this message in context: http://jersey.576304.n2.nabble.com/How-to-post-a-file-and-other-form-fields-by-Jersey-client-tp6502947p6505388.html
Sent from the Jersey mailing list archive at Nabble.com.