Hello,
I'm working with vCloud Director and trying to use the 9.5 API. My simple http://<hostnam.com>/api/versions command works fine and sends back a list of versions. When I attempt to get sessions (./api/sessions) using http:// and Basic Authentication, it is failing. All the documentation I've seen such as vCloud Director API - VMware API Explorer - VMware {code} (see the section: Using the vCloud API with vCloud Director) specifies examples using HTTPS. Is HTTPS a mandatory requirement for using the vCloud API ?
Yes, HTTPs is a requirement for any client connection. No matter whether it is the Web GUI, console proxy or API.
This can be seen in the API examples and is also indirectly in the Release Notes:
vCloud Director requires client connections to be secure.
vCloud Director 9.5 for Service Providers Release Notes
Thanks for the quick reply. ( I felt the same way)