Hi All,

I have following client code:

                Form form = new Form();
                form.add("parameter[xml]",      doc.xmlText());
                Representation clientRep = form.getWebRepresentation();

                // Make the call.
                Response response = client.post(reference, clientRep);

I want to add a header in this request, how can I acheive that? If anyone has 
any ideal please let me know. For simple client i.e client.handle(request), I 
could do it, but for clients with post method, I could not find a way. Please 
help.

Thanks in advance
Prashant

Reply via email to