On Thu, Mar 24, 2016 at 6:59 PM, Ollie Armstrong <ollie(a)fubra.com> wrote:
Thanks for the reply Gonza. When you've quoted what you've
used, what
should I use for "ticket_content" in this case? Is that the literal
string there?
Apparently you can get it as well with something like
"<action><proxy_ticket></proxy_ticket></action>".
Only thing to change then is between curly brackets {}.
On 24 March 2016 at 17:52, Gonzalo Rafuls <gonza(a)redhat.com>
wrote:
> I was able to get the proxy ticket with curl like this:
>
> # curl -k -X POST \
> -H "Authorization: Basic YWRLKDFLKnfLfdNLDKDFnsldssL2" \
> -H "Accept: application/xml" \
> -H "Content-Type: application/xml" \
> -d
>
"<action><proxy_ticket><value>ticket_content</value></proxy_ticket></action>"
> \
> -L
> https://
{engine}:443/ovirt-engine/api/vms/{vm:id}/graphicsconsoles/{graphicsconsole:id}/proxyticket