[ovirt-users] Using REST API to get a proxyticket

Ollie Armstrong ollie at fubra.com
Thu Mar 24 17:59:15 UTC 2016


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?

On 24 March 2016 at 17:52, Gonzalo Rafuls <gonza at 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



More information about the Users mailing list