c# api

  1. M

    API response: {"errors":{"vmid":"property is missing and it is not optional"},"data":null}

    This request to url (https://10.40.100.95:8006/api2/json/nodes/pve01/qemu) returns an error {"errors":{"vmid":"property is missing and it is not optional"},"data":null}, request for url (https://10.40.100.95:8006/api2/json/nodes), returned an array, what's wrong? in the documentation like...
  2. M

    Call Api C#

    Help me figure it out, the token is there, the call does not accept the header. using (var client = new HttpClient()) { var url = "https://10.40.100.95:8006/api2/json/nodes"; client.DefaultRequestHeaders.Add("Authorization"...