All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.dabogadog.apiPerformance.ApiNetwork Maven / Gradle / Ivy

package io.github.dabogadog.apiPerformance;

import io.github.dabogadog.httpUtils.ApiConfig;
import io.github.dabogadog.httpUtils.HttpUtils;


public class ApiNetwork {
    public static String obtainApiNetwork(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_APINETWORK;

        // Realizar la solicitud HTTP utilizando HttpUtils
        return HttpUtils.sendHttpGetRequest(url, autorizacion);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy