[ovirt-users] Question about the ovirt-engine-sdk-java

Michael Pasternak mishka8520 at yahoo.com
Sun Oct 18 09:45:05 UTC 2015


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 <ssidimah at redhat.com> 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: user1 at ad.xyz.com" \
          -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



  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151018/0bcc53c4/attachment-0001.html>


More information about the Users mailing list