0

I've searched in the Oracle VM documentation, but I wasn't able to find any example on how to query the Oracle VM REST API from curl or any similar alternative: https://hostname:port/ovm/core/wsapi/rest/

Dane411
  • 101
  • 2

1 Answers1

1

Here :

curl -ksu "<OVMUSER>:<OVMPASS>" \
-H "Accept: application/json" \
https://<ADDRESS>:<PORT>/ovm/core/wsapi/<URI MAP> ;

For xml return, just change the application type to application/xml

SOURCE : https://docs.oracle.com/en/virtualization/oracle-vm/3.4/developer/vmapi-rest.html

ivspenna
  • 31
  • 3