io.github.dabogadog.apiPerformance.ApiCpuMemory Maven / Gradle / Ivy
package io.github.dabogadog.apiPerformance;
import io.github.dabogadog.httpUtils.ApiConfig;
import io.github.dabogadog.httpUtils.HttpUtils;
public class ApiCpuMemory {
public static String obtainApiCpuMemory(String sessionId, String autorizacion) {
// Construir el URL completo utilizando la URL base de la API de ApiConfig
String url = ApiConfig.BASE_URL
+ sessionId + ApiConfig.PARAMS_CPUMEMORY;
// Realizar la solicitud HTTP utilizando HttpUtils
return HttpUtils.sendHttpGetRequest(url, autorizacion);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy