[ovirt-users] Using REST API to get a proxyticket
Gonzalo Rafuls
gonza at redhat.com
Thu Mar 24 18:11:02 UTC 2016
On Thu, Mar 24, 2016 at 6:59 PM, Ollie Armstrong <ollie at 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160324/ddfb6699/attachment-0001.html>
More information about the Users
mailing list