Hi Salifou,
Actually java sdk is intentionally hiding transport level internals so 
developers could stay in java domain,if your headers are static, easiest way 
would be using reverse proxy in a middle to intercept requests, 

can you tell me why do you need this?
 


     On Friday, October 16, 2015 1:14 AM, Salifou Sidi M. Malick 
<[email protected]> wrote:
   

 Hi Micheal,

I have a question about the ovirt-engine-sdk-java.

Is there a way to add custom request headers to each RHEVM API call?

Here is an example of a request that I would like to do:

$ curl -v -k \
          -H "ID: [email protected]" \
          -H "PASSWORD: Pwssd" \
          -H "TARGET: kobe" \
          https://vm0.smalick.com/api/hosts


I would like to add ID, PASSWORD and TARGET as HTTP request header. 

Thanks,
Salifou



  
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to