Building an App in Xojo that talks to the vSphere 6.5 REST API

preview_player
Показать описание
For many years, I was a big fan of Asymetrix Toolbook and Visual Basic. I won’s say I’m an experienced programmer but I knew my way around (remember the vmClient).

Since Visual Basic doesn’t run on a Mac, I did some research and have found a good cross platform alternative called Xojo, it’s a a development tool for creating powerful, native applications for desktop, web, iOS, and Raspberry Pi. 

The only problem I had is how to I talk to vSphere? Version 6.5 has a REST API and Xojo is equipped with a rest socket. Just connect those two together and let the fun begin.

In this video, I’ll explain how to create your own cross platform applications in Xojo and access the vSphere 6.5 REST API through the Xojo rest socket. This allows you to list, create, and power-on virtual machines and all the other stuff from your own user interface. Xojo and vSphere we got a lift off.
Рекомендации по теме
Комментарии
Автор

Very interesting bc this might be used for payment processing and interacting with services / APIs - hello from a fellow Xojo user!

AmyBarnes
Автор

uhm.. rest api's are not supposed to use sessions (for various security reasons). they use tokens (which is not the same). So this "session" is not the right naming convention or it's not a rest api, but a normal website (which uses sessions), or is insecure.

mr_don_key