A
A
Artem Lisovskiy @Artem2020-12-17 23:41:25
API
Artem Lisovskiy @Artem, 2020-12-17 23:41:25

How to start a virtual machine via API?

To be honest, I don’t even know how to formulate my question correctly, I’m a beginner. I have rented a virtual machine at https://z omro . com/ (remove spaces) ; From the external control panel, you can turn on the machine, which I need to do, but not manually, but through the API.
5fdbc223c204c537719813.png
for this, as I understand it, you need to generate an authorization request and then click on the "start" button. How to do this on Windows?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2020-12-18
@dimonchik2013

Python Requests for example
or Postman with POST request

A
Anton Shamanov, 2020-12-18
@SilenceOfWinter

For example, the CURL library, in popular browsers like ff there is a developer panel and each request is described there, it is possible to upload them as CURL requests. You need 2 consecutive requests within one session: authorization and script launch (start)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question